Ifvare

From EDukeWiki
Revision as of 12:15, 22 August 2007 by 201.21.226.35 (talk)
Jump to navigation Jump to search

ifvare <gamevar> <number>

True if gamevar <gamevar>'s value is equal to <number>.

If it's a per-player variable, it will return the value of the gamevar for the respective NEAREST player to the actor running the command. This mean that if you use it in EVENT_EGS with an actor spawned by APLAYER, it will ever refer to the actor owner player.