struct SCRIPT_OPERANDS
ACTOR as the actor script's SC_SET, SC_ADD and SC_CMP commands reach it, every field a plain number (ACTOR_SCRIPT_VALUE numbers them).
Declared in script_operands.h.
Fields
| Name | Description | |
|---|---|---|
Uint32 | script | |
Uint16 | cursor | |
Uint16 | facing | |
Uint32 | x | |
Uint32 | y | |
Uint32 | z | |
Uint32 | groundHeight | |
Uint32 | scaleX | |
Uint32 | scaleY | |
Uint16 | radius | |
Uint8 | unusedAfterRadius [2] | No code names them. |
Uint32 | velocityX | |
Uint32 | velocityY | |
Uint32 | velocityZ | |
Uint32 | speedLimit | |
Uint32 | acceleration | |
Uint32 | targetX | |
Uint32 | targetY | |
Uint32 | targetZ | |
Uint32 | bounce | |
Uint32 | gravity | |
Uint32 | sceneWord | |
Uint32 | sprite | |
Uint8 | spriteStorageKind | ACTOR.spriteStorageKind. |
Uint8 | motionFlags | |
Uint8 | arrivalAxis | |
Uint8 | conditionResult | The last test; every compare sets it. |
Uint8 | snapToTarget | |
Uint8 | collisionFlags | |
Uint8 | steeringFlags | |
Uint8 | paused | |
Uint8 | retainSpriteCache | |
Uint8 | repeatCount | The SC_LOOP count. |
Sint16 | wait | SC_WAIT's ticks left. |
Uint8 | refused | ACTOR.refused, the blocked ticks. |
Uint8 | frozen | |
Uint8 | sceneCount | |
Uint8 | sceneByte | |
Sint16 | timer | |
Sint16 | userValue | |
Uint32 | watchedActor | |
Uint32 | update |
Description
ACTOR as the actor script's SC_SET, SC_ADD and SC_CMP commands reach it,
every field a plain number (ACTOR_SCRIPT_VALUE numbers them).
struct SCRIPT_OPERANDS
Referenced by fdActorScriptApplyOperandAdd(), fdActorScriptApplyOperandCommand(), fdActorScriptApplyOperandCompare(), fdActorScriptApplyOperandSet(), fdActorScriptSetOrCompareCursor() and fdActorScriptSetOrCompareRadius().
Definition at line 19 of file script_operands.h.
Fields in detail
script
Uint32 script
cursor
Uint16 cursor
facing
Uint16 facing
x
Uint32 x
y
Uint32 y
z
Uint32 z
groundHeight
Uint32 groundHeight
scaleX
Uint32 scaleX
scaleY
Uint32 scaleY
radius
Uint16 radius
unusedAfterRadius
Uint8 unusedAfterRadius[2]
No code names them.
velocityX
Uint32 velocityX
velocityY
Uint32 velocityY
velocityZ
Uint32 velocityZ
speedLimit
Uint32 speedLimit
acceleration
Uint32 acceleration
targetX
Uint32 targetX
targetY
Uint32 targetY
targetZ
Uint32 targetZ
bounce
Uint32 bounce
gravity
Uint32 gravity
sceneWord
Uint32 sceneWord
sprite
Uint32 sprite
spriteStorageKind
Uint8 spriteStorageKind
motionFlags
Uint8 motionFlags
arrivalAxis
Uint8 arrivalAxis
conditionResult
Uint8 conditionResult
The last test; every compare sets it.
snapToTarget
Uint8 snapToTarget
collisionFlags
Uint8 collisionFlags
steeringFlags
Uint8 steeringFlags
paused
Uint8 paused
retainSpriteCache
Uint8 retainSpriteCache
repeatCount
Uint8 repeatCount
The SC_LOOP count.
wait
Sint16 wait
SC_WAIT's ticks left.
refused
Uint8 refused
ACTOR.refused, the blocked ticks.
frozen
Uint8 frozen
sceneCount
Uint8 sceneCount
sceneByte
Uint8 sceneByte
timer
Sint16 timer
userValue
Sint16 userValue
watchedActor
Uint32 watchedActor
update
Uint32 update