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 / a Spiderman web-pull / telekinesis script?

Author
Message
Brian In Korea
16
Years of Service
User Offline
Joined: 1st Mar 2009
Location:
Posted: 13th Mar 2009 18:50
Is it possible to set up a script so that when you hit a certain keyboard key, the entity that's in your "sights" gets moved/dragged towards you and then if you hit a different key, the entity gets pushed/thrown back with a certain force.

The closest thing I see is the plringunsight condition. But I need an entityingunsight condtion.
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 13th Mar 2009 20:33
Um.....

well,...I know that you can move objects like boxes by picking them up and dropping and throwing them. maybe there is a way for enemies to do the same...


xplosys
19
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 14th Mar 2009 20:07
Quote: "The closest thing I see is the plringunsight condition. But I need an entityingunsight condtion. "


Perhaps working this from the entity side is the way to go, using a combination of plrcanbeseen in conjunction with scancodekeypressed. I think that the entity will have to be a character (ischaracter=1 in it's fpe), but then you could move the entity to and from the player.

Best.

Jade
16
Years of Service
User Offline
Joined: 10th Mar 2009
Location: I wish it were China...
Posted: 19th Mar 2009 06:44
how do u pick up boxes?
Jesper
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location: Hämeenlinna
Posted: 21st Mar 2009 21:37
Press right mouse key to pick up dynamic entities, if physics is on. Then, press it again to drop entity. Press left mouse key to throw entity.

Login to post a reply

Server time is: 2025-05-23 22:16:17
Your offset time is: 2025-05-23 22:16:17