Ifvare: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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 11:15, 22 August 2007
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.