1
// ZZ> This function makes an item fall to the floor when spawned
3
tmpargument = ACTIONJB //
22
IfDropped // Make it lie on floor
24
IfHitGround // Make a sound
26
tmpdistance = rand & 2047 + 10000 //
28
IfUsed // Spawn damage particle
29
tmpx = selfattached //
32
IfXIsMoreThanY // Is the flame still there?
33
tmpargument = 1 // Yes
34
tmpdistance = SPAWNLAST // Model vertex to attach to
35
SpawnAttachedParticle //
36
IfGrabbed // Tell them what they've won...
37
SetTargetToWhoeverIsHolding //
38
tmpargument = [XFIR] // Burn hands...
1
// ZZ> This function makes an item fall to the floor when spawned
3
tmpargument = ACTIONJB //
22
IfDropped // Make it lie on floor
24
IfHitGround // Make a sound
26
tmpdistance = rand & 2047 + 10000 //
28
IfUsed // Spawn damage particle
29
tmpx = selfattached //
32
IfXIsMoreThanY // Is the flame still there?
33
tmpargument = 1 // Yes
34
tmpdistance = SPAWNLAST // Model vertex to attach to
35
SpawnAttachedParticle //
36
IfGrabbed // Tell them what they've won...
37
SetTargetToWhoeverIsHolding //
38
tmpargument = [XFIR] // Burn hands...