Getpname: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
getpname <QUOTE #> <gamevar holding PLAYER ID> | '''getpname''' <QUOTE #> <gamevar holding PLAYER ID> | ||
Replaces a [[quote]] with the name of a player. (Player names are entered in the PLAYER SETUP menu.) | Replaces a [[quote]] with the name of a player. (Player names are entered in the PLAYER SETUP menu.) | ||
Line 10: | Line 10: | ||
setvar shade 0 | setvar shade 0 | ||
setvar pal 0 | setvar pal 0 | ||
getpname 125 THISACTOR | '''getpname''' 125 THISACTOR | ||
setvar temp 125 | setvar temp 125 | ||
minitext digx digy temp shade pal | minitext digx digy temp shade pal |
Latest revision as of 11:31, 4 May 2009
getpname <QUOTE #> <gamevar holding PLAYER ID>
Replaces a quote with the name of a player. (Player names are entered in the PLAYER SETUP menu.)
Example (displays the name of the player in the upper left corner of the screen):
onevent EVENT_DISPLAYREST setvar digx 2 setvar digy 2 setvar shade 0 setvar pal 0 getpname 125 THISACTOR setvar temp 125 minitext digx digy temp shade pal endevent