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 / Antigrav platform

Author
Message
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 15th Jan 2007 01:14
I have the antigraveplatform moving along a waypoint. I've created a trigger zone over it and changed the spawn at start of the platform so in effect, the player steps onto where it should be then is appears and moves with the player on it, but I want the platform to be visible but not move until the player steps on it, how?


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 15th Jan 2007 01:30
nicky, make the waypoint states so that it reads like

:state=1,waypointstate=1:waypointstart

instead of

:waypointstate=1:waypointstart

the make it read:

:state=0,activated=1:state=1
:state=1,waypointstate=1:waypointstart
:state=1,waypointstate=2:waypointnext

and so on!

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 15th Jan 2007 01:38 Edited at: 15th Jan 2007 01:41
Yeah, basically the same progression. Or use this for the platform and leave the waypoints as is.

;Artificial Intelligence Script

;Header

desc = Wait for Player and Follow Waypoints with no rotation (platform)

;Triggers

:state=0,plrdistwithin=40:state=1,norotate=1
:state=1,waypointstate=0:animate=2,waypointstart
:state=1,waypointstate=3:animate=2,waypointnext
:state=1,waypointstate=4:animate=2,waypointrandom
:state=1,waypointstate=5:animate=2,waypointreverse

;End of Script

Best.

I'm sorry, my answers are limited. You must ask the right question.

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 15th Jan 2007 02:04
Thank you both

xplosys, your script worked a treat


Johny English
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: Czech Republic
Posted: 15th Jan 2007 14:45
Thanks.

SIXOFT - This is not just a game, this is a SIXOFT game.

Login to post a reply

Server time is: 2024-11-23 09:08:51
Your offset time is: 2024-11-23 09:08:51