<aside> ⚡ script "core_getactorproperty" (int tid, int prop, int type)

</aside>

Usage


Returns the value of the given actor property for the given TID, in the given format. This is meant to be called from DECORATE, which has different numerical storage from ACS.

Parameters

Return Value

The value stored in the property for the given TID.

Example


Oil Slider uses this function to get the APROP_JumpZ of the user to apply to the aerial jump.

OILL A 0 A_ChangeVelocity(momx, momy, CallACS("core_getactorproperty", 0, APROP_JumpZ, DATATYPE_RAW) / 65536.0, CVF_REPLACE)