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 / yet more waypoint problems...

Author
Message
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 16th Aug 2009 18:29
hello again, i've made a zombie waypoint script which works fine, but when the player shoots the zombie it leaves the waypoints.
what would i need to put to make the zombie ignore gunshots?

here's the script:


i like apple juice. (the mod and the drink)
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 17th Aug 2009 19:18
any help? any help at all? i'm sure it's easy to fix...

i like apple juice. (the mod and the drink)
official z-mod developer!
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 18th Aug 2009 21:30
first I'd like to point something..

Quote: "
:state=0,plrdistwithin=3000:state=1
:state=1,plrdistwithin=3000:state=2"

is useless, if the condition in the first line is true then it's also true in the second line so u better write
Quote: "
:state=0,plrdistwithin=3000:state=2"


and what ur looking for is in this line
Quote: ":state=2,plrdistfurther=3000:animate=1,state=1"

just add (waypointstart) to its end, and go to state 0 instead of state 1..

shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 18th Aug 2009 22:18 Edited at: 18th Aug 2009 22:19
ooohhh... (smacks self in head) thanks again, bibo, i don't know what i'd do without you...

(whoops, new sig to big, mods please erase, will change.

Login to post a reply

Server time is: 2024-11-25 06:57:06
Your offset time is: 2024-11-25 06:57:06