Difference between revisions of "setVariable"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (added location category)
Line 44: Line 44:
 
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
 
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
 
[[Category:Scripting Commands ArmA|SETVARIABLE]]
 
[[Category:Scripting Commands ArmA|SETVARIABLE]]
 +
[[Category:Command_Group:_Locations|SETVARIABLE]]

Revision as of 11:33, 27 November 2007

Template:Command

Notes

According to Suma, beginning with ArmA version 1.08, "setVariable now should work on any entity which can be targeted by AI, including soldier and game logic units. This includes most buildings, but not other static objects. Using it with buildings one should be aware the building may be discarded because of streaming. In such case the variable space is lost. When used for buildings, the storage should therefore be considered non-reliable." Reference: Make setVariable work on other things than just vehicles

Bottom Section