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 / Part of script doesn't function?

Author
Message
Slayer1918z
14
Years of Service
User Offline
Joined: 18th Jun 2010
Location:
Posted: 2nd Jul 2010 22:20 Edited at: 2nd Jul 2010 22:21
I've been working on this AI script for hours and just can't stand it anymore! For some reason the AI doesn't follow the first part of the script, the part that is state=0. The AI doesn't react to me shooting him, being within the distince, hearing a noise, or anything. But, the AI does try to walk straight to my spawn zone as soon as he spawns walking straight into the wall or any other objects. The script is attached. If somebody can please help I thank you!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 2nd Jul 2010 23:38
I'm not sure state "01" is a valid state. Try changing that to "10" and see if it helps any.


The one and only,


Slayer1918z
14
Years of Service
User Offline
Joined: 18th Jun 2010
Location:
Posted: 2nd Jul 2010 23:57
nope, the AI is still running to my spawn zone at the beginning and is trying to run through a wall and thats when he ignores everything that i do
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 3rd Jul 2010 09:08 Edited at: 3rd Jul 2010 09:17
:plrdistfurther=2000:state=01
:state=01:animate=1,floorlogic

Comment out those last two lines with a semicolon and try it...

;:plrdistfurther=2000:state=01
;:state=01:animate=1,floorlogic

   Conjured Entertainment

 WARNING: Intense Madness

Login to post a reply

Server time is: 2024-11-24 21:30:53
Your offset time is: 2024-11-24 21:30:53