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 / Entity Movement

Author
Message
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 28th Feb 2010 16:39
Hey everyone,

It's not often I come to this board to request scripting help, but this has me completely stumped. How do I move an entity without making it a character (I need the entity to be able to drop off ledges which characters can't do). I've tried the movefore and forcefore commands, but the entity refuses to move. Any ideas?


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 28th Feb 2010 16:53
Well, since I know you use PB, you might be able to use a PhyMoveToTarget=X command, as long as it has physics enabled.

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 1st Mar 2010 15:58
I just tried the action you gave above - it worked to an extent. The entity move alright, it's just it was no longer affected by forces such as gravity which is a big problem. It's a shame there's not more support for entity movement...


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 1st Mar 2010 23:29
Dang...

...Hmm...You sure it's dynamic when you used the actions? Maybe if you make it a character, then use the movefore commands...

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 2nd Mar 2010 03:51
Quote: "You sure it's dynamic when you used the actions?"


Yeah...I'm not that clunsy

Quote: "Maybe if you make it a character, then use the movefore commands..."


Quote: "How do I move an entity without making it a character (I need the entity to be able to drop off ledges which characters can't do)"



[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 4th Mar 2010 13:35
Aw, didn't see that. My bad.

Hmmm... I can't find it. Sorry.

My only idea would be to have a character entity, on that's REALLY small, and have it use the movefore command and push the crate.

Other than that, sorry.

Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 11th Mar 2010 00:26
i found out that if a entity, for me a crate, would float but when it was shot it came down. So you may just make it so the player has to shoot the box.

Login to post a reply

Server time is: 2024-11-25 02:03:33
Your offset time is: 2024-11-25 02:03:33