Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / help with timer

Author
Message
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 15th Feb 2009 21:36
hi im trying to get this script to work and im not sure what im doing wrong, its supposed to destroy the entity its attached to if another entity is within 100 of it for the length of the timer, as far as i can tell he conditions check out as it destroys itself at state 11 like its supposed to but it does it the secnd the entity gets cloe to it!

any help would be appreciated, i can see where im going wrong!



- Why is everyone on here so rude? -
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Feb 2009 05:16 Edited at: 16th Feb 2009 05:30
::state=0 is no good
in theory it keeps you in state=0 always

:state=0,anyfurther=100:state=0 is pointless
no sense in going to the state you are already in

try this


X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 16th Feb 2009 18:46
yeah i figured that out in he mean time that those states were no good but it needs some sort of state to check the plr is further away otherwise its only got instructions for if they are

the problem is now stoppin them from glitching through the barriers after getting stuck there for a few seconds!

- Why is everyone on here so rude? -
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 16th Feb 2009 18:49
Thanks for the script though it really helped! the one i came to last night was a lot
longer!

they just wont stop glitching straight through the barriers though
i been playing around with the stop and animate commands thinking ifthere weresome way for them tocheck if they had encountered something and stop walking and animate some sort of attacking motion

il keep playing with it though im sure theres got to be someway of usin the anywithin zone on the zombies too....

- Why is everyone on here so rude? -

Login to post a reply

Server time is: 2024-11-24 19:23:53
Your offset time is: 2024-11-24 19:23:53