home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 42
/
CDGAMER42.iso
/
Egoboo
/
egoboo.exe
/
egoboo
/
modules
/
palshad.mod
/
objects
/
blind.obj
/
script.txt
< prev
next >
Wrap
Text File
|
2000-05-26
|
1KB
|
66 lines
IfSpawned
// Vortex is sustained by magic
EnchantTarget // target is self...
// Vortex has a dyna light particle
tmpargument = 0
tmpdistance = SPAWNLAST
SpawnAttachedParticle
// Go away for good
IfKilled
tmpargument = MESSAGEDEATH
SendMessageNear
GoPoof
// Let the players know that there's something there...
IfAttacked
tmpargument = 0
tmpdistance = rand & 2047 + 10000
PlaySound
// Chase good guys
IfTimeOut
IfTargetIsSelf
tmpdistance = 90000 // Square of range
SetTargetToDistantEnemy
tmpargument = 1
SendMessageNear
// Play the chalkboard sound
tmpx = rand & 511 - 256 + selfspawnx
tmpy = rand & 511 - 256 + selfspawny
Else
tmpx = targetdistance
tmpy = 700
IfXIsMoreThanY
SetTargetToSelf
tmpx = rand & 511 - 256 + selfx
tmpy = rand & 511 - 256 + selfy
Else
tmpx = targetx
tmpy = targety
ClearWaypoints
AddWaypoint
tmpargument = 20
SetTime
tmpargument = 0
SetState
// Find a new target
IfTargetKilled
SetTargetToSelf
tmpargument = 0
SetTime
// All Done
End