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 / lock player on aniti gravity platform

Author
Message
xymore
13
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 24th Jul 2012 01:33
hello

im working towards an "on the rail" shooter im having trobles getting the platform/player to stop or pause at certain action points. I dont know how to get it to pause at these action spots, so i am placing an item in the waypoint path.

This holds the lift in place while fighting enemy. After enemy dies i destroy the item in path with this destroy & activate. It works, when i kill the enemy the item disappears & lift continues on .. however my problem is keepng player on lift.

the player now slides off the lift as it (the lift) goes up agaist item in path i copied this script from rail tutorial, but the palyer keeps sliding off

im using the sci fi antigravity platform
im placing this script in main



;desc = Follow Waypoints with no rotation and player locked (platform)
;Triggers
:state=0,plrdistwithin=40:state=1,norotate=1
:state=1,plrdistfurther=41:plrmoveto=lift
: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:state=2
:state=2:none
;End of Script


player stays on lift until it hit the item in the path
then player slides off back, lift continues to follow waypoints

Login to post a reply

Server time is: 2024-11-23 21:56:45
Your offset time is: 2024-11-23 21:56:45