Editing SetActorProperty
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
:void SetActorProperty(int tid, int property, int/float/bool/str value) | |||
: | :int/float/bool/str GetActorProperty(int tid, int property) | ||
: | :bool CheckActorProperty(int tid, int property int/float/bool/str value) | ||
: | |||
These functions access a property for actors tagged ''tid''. ''Property'' is one of the constants starting with APROP_. ''Value'' can be expressed into a form supported by the given property type. See the following table. | These functions access a property for actors tagged ''tid''. ''Property'' is one of the constants starting with APROP_. ''Value'' can be expressed into a form supported by the given property type. See the following table. | ||
Line 44: | Line 43: | ||
|| APROP_Counter0, up to<br>APROP_Counter7 || int || || thing [[counter]] value | || APROP_Counter0, up to<br>APROP_Counter7 || int || || thing [[counter]] value | ||
|} | |} | ||