Ifvare: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Redirected page to Ifvar conditions
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ifvare <gamevar> <number>
#REDIRECT [[ifvar conditions]]
 
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]]

Latest revision as of 21:26, 7 January 2011

Redirect to: