As stupid and confusing as this question seems, I can explain
I made a huge custom hurtzone. It works real well.
;script for timed hurt zone
;-filya
; place as main script in hurtzone
;Header
desc = Plr Hurt In Zone
;Triggers
:state=0,plrwithinzone=1:timerstart,state=1
:state=0:state=3
:state=1,plrwithinzone=1,timergreater=2000:plraddhealth=-7,state=0
:state=3,plrwithinzone=1:state=0
I also made a custom health script which works when you destroy a particular object. It works well too.
;script for health giving object
;-filya
; place in destroy field of object
;Header
desc = Health Object
;Triggers
:state=0:sound=audiobankconcrete.wav,rundecal=0,state=1
:state=1:destroy,plraddhealth=20,plrsound=audiobankhealthup.wav
;End of Script
The problem starts when I place the health giving object in the hurtzone
The script in the object dont work, no sounds, no health increase
Can anyone try and help me here please?
Thank you,
filya
-- game dev is fun...but taking up too much time --