Ifvare: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
m Reverted edits by 201.21.226.35 (Talk); changed back to last version by TX
Line 2: Line 2:


True if [[gamevar]] <gamevar>'s value is equal to <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.


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]
[[Category:If conditions]]
[[Category:If conditions]]

Revision as of 12:22, 22 August 2007

ifvare <gamevar> <number>

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