13API_CALLABLE(N(UnkLightningBoltFxFunc1)) {
24 actorState = &actor->
state;
30 actorState->functionTempPtr[0] = effectState;
36 for (i = 0; i < 3; effectState++, i++) {
37 effectState->
effect = fx_lightning_bolt(2, x, 200.0f, z, x, 0.0f, z, 1.0f, 60);
39 effectState->
pos.
x = x;
40 effectState->
pos.
y = y;
41 effectState->
pos.
z = z;
43 effectState->
radius = 10.0f;
44 effectState->
yaw = i * 120;
51 effectState = actorState->functionTempPtr[0];
53 for (i = 0; i < 3; effectState++, i++) {
66 effectState->
radius += 1.5;
75 effectState = actorState->functionTempPtr[0];
struct LightningBoltFXData * lightningBolt
s32 evt_get_variable(Evt *script, Bytecode var)
Actor * get_actor(s32 actorID)
void * heap_malloc(s32 size)