home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 42
/
CDGAMER42.iso
/
Egoboo
/
egoboo.exe
/
egoboo
/
modules
/
palshad.mod
/
objects
/
wandm.obj
/
script.txt
< prev
next >
Wrap
Text File
|
2000-06-06
|
862b
|
35 lines
// ZZ> This function makes an item fall to the floor when spawned
IfSpawned //
tmpargument = ACTIONJB //
DoAction //
KeepAction //
MakeCrushValid
IfTakenOut
ReaffirmCharacter
IfCrushed
tmpx = selfx
tmpy = selfy
tmpdistance = selfz
tmpargument = 4
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
GoPoof
tmpargument = 1
SendMessageNear
IfDropped // Make it lie on floor
KeepAction //
IfHitGround // Make a sound
tmpargument = 2 //
tmpdistance = rand & 2047 + 10000 //
PlaySound //
IfUsed // Found out what it was
MakeNameKnown //
IfGrabbed // Tell them what they've won...
SetTargetToWhoeverIsHolding //
IfTargetIsAPlayer //
tmpargument = 0 //
SendMessageNear //
End // All done