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 / Walk then Stop.

Author
Message
Shadydowg
User Banned
Posted: 12th Jan 2010 20:19
Is there a script for a npc to walk it's waypoint route then turnaround and stop? I have searched the boards but havn't had any success. Thanks!

Lapfire Interactive approves this message! =)
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 12th Jan 2010 23:43
change waypointreverse to waypointstop in pace or whatever else.



to fenix mod!
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 13th Jan 2010 01:20 Edited at: 13th Jan 2010 01:21
Quote: "then turnaround and stop?"


I don't think you can turn around before you stop. You will have to stop first as Bugsy indicated.

I haven't ever tried this but there are two rotate Y action commands. Is rotating around the Y axis the right way? I get X and Y mixed up all the time. Also, I'm not sure if it effects characters or not? You'll just have to experiment.

Anyway there is

rotateiy= which rotates at an incremental rate (notice the i before the y)

rotatey= this is supposed to rotate the entity but I'm not sure if it is in degrees or not. I believe what was said about it is that it will "rotate the angle around the y axis."

-----------------------------------------------
OliveTreeGames
Shadydowg
User Banned
Posted: 14th Jan 2010 03:09
Thanks guys. I'm just starting to get the hang of this scripting system for FPSC. I'll try it.

Lapfire Interactive approves this message! =)

Login to post a reply

Server time is: 2024-11-25 03:26:01
Your offset time is: 2024-11-25 03:26:01