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 / Any Way To Turn Gravity Back ON?

Author
Message
4Blades
16
Years of Service
User Offline
Joined: 23rd Jul 2008
Location:
Posted: 31st Jul 2008 17:03
I can use NOGRAVITY to turn off gravity for an entity, but is there any way to turn it back on?

Also, I can make an item float with the FLOATRATE command, but is there a way to turn floating off?

Thanks.

\/
/\

If there were such a thing as Free Will, I'd be exercising right now.
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 31st Jul 2008 20:46
You would need to specify a condition that might be appropriate to your needs in the script, but you have to find a useful one that the engine recongnises for that to work. I use plrdistwithin or similar for most things. Otherwise I dont know if a trigger would work and you still need to apply a script - its likely to be tricky or erratic perhaps. Only by trying would we know.



4Blades
16
Years of Service
User Offline
Joined: 23rd Jul 2008
Location:
Posted: 31st Jul 2008 21:04
I'm not concerned about the trigger mechanism....just the actual command to use in the script to reverse the NOGRAVITY command (and the FLOATRATE command). There aren't any that I can find.

If there were such a thing as Free Will, I'd be exercising right now.
JRH
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 31st Jul 2008 21:51
Try this


It's just a suggestion...

Jonathan

4Blades
16
Years of Service
User Offline
Joined: 23rd Jul 2008
Location:
Posted: 31st Jul 2008 22:04
Yep, tried it....it just makes it float without movement.
I also tried NOGRAVITY again, thinking it may be a toggle.
I tried NOGRAVITY=0
Even Tried GRAVITY
No luck.

If there were such a thing as Free Will, I'd be exercising right now.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 31st Jul 2008 22:50
I don't think the engine supports that command.

Login to post a reply

Server time is: 2024-11-24 11:38:35
Your offset time is: 2024-11-24 11:38:35