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 / Script Help Plaease

Author
Message
Lone Wolf 89
17
Years of Service
User Offline
Joined: 5th Dec 2006
Location: Kansas
Posted: 7th Dec 2006 02:03
Im having a little bit of a problem here. Im doing my high school senior project over video game development and I need halp fast.

Goal
I need an entity to wait x amounts of seconds then walk a waypoint path half way of his waypoint path and then wait another x amounts of seconds, then after thats up I need him to finish walking the rest of his waypoint path.

Here is my code so far



If anyone can solve this I would be very suprised.

Theres an image if you need to see what Im talking about.

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 7th Dec 2006 02:48 Edited at: 7th Dec 2006 02:50
School project????

You are on your own on that one dude....sorry.

Hint
Merry's advice on using movefore=x is the best way to control speed, so skip waypoints.


Quote: "If anyone can solve this I would be very suprised."

Nice try.

Don't forget to visit Conjured Entertainment
Lone Wolf 89
17
Years of Service
User Offline
Joined: 5th Dec 2006
Location: Kansas
Posted: 7th Dec 2006 03:00
So would this work instead of doing the waypoints

(pseudo code)
walk x units
rotate to player
timer start
if x seconds is up then
rotate x units then
walk x units then
stop
Lone Wolf 89
17
Years of Service
User Offline
Joined: 5th Dec 2006
Location: Kansas
Posted: 7th Dec 2006 05:04
Thanks for the hint Conjured Entertainment. I used the movefore action and I have finally created code to make the guy wait for 4 seconds then walk 200 units ,stop,wait 5 seconds,look at me,wait 6 seconds, turn around,walk for 2 seconds,then finally stop there.




A huge weight has been lifted off of my shoulders I didn't know if I would ever get this to work!!!!

Login to post a reply

Server time is: 2024-11-23 04:47:11
Your offset time is: 2024-11-23 04:47:11