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 / zombie script change for waypoints

Author
Message
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 11th Apr 2009 14:04
hi everyone, i recently had problemd making a zombie follow a waypoint then leave it and attack you at the end.
i noticed that enemies with guns had no problem doing this, and i realised that on the pace script, the script tells the ai to shoot the player when he is visible.
However, the zombies are programmed to melee, in fact, they have a special script for this, so, can anyone change the pace script so zombies can reach the end of the way point then run and attack you?

any help would be greatly appreciated.

my motto: if it looks awesome, it probbably is awesome.

shallowness is fun!
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 11th Apr 2009 14:31
I think that the way point has to be close enough to you, so when you're close to the zombie it'll attack you

A single drop of water can mean a drained ocean for future generations
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 11th Apr 2009 14:52
when the zombie reaches the end of the waypoint it's on it just turns around and goes back again, the problem is him seeing me while he's on the way point.

my motto: if it looks awesome, it probbably is awesome.

shallowness is fun!
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 11th Apr 2009 15:49 Edited at: 11th Apr 2009 15:58
You can find the answer on Page 40 of the community guide:

http://forum.thegamecreators.com/?m=forum_view&t=131868&b=21



Far too new to be helping...

Login to post a reply

Server time is: 2024-11-24 23:27:59
Your offset time is: 2024-11-24 23:27:59