Anyway i need some help with a script i get an error when i try to save it:
ScriptName aaaskeletdie
short doonce
ref self
ref aaatarget
begin gamemode
if ( doonce == 0 )
set self to GetSelf
kill
set doonce to 1
self.moveTo [aaatarget]
endif
End
The error is about aaatarget variable, its a global var and i use this script to set it to an object ref:
Scriptname aaaagreengoblin
ref aaatarget
Begin ScriptEffectStart
set GetActionRef to aaatarget
Placeatme AaDeadSkeleton 1 0 1
kill aaatarget
Disable
End
Thanks for any answers // Zzmurf
