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 / Toggle Immobile?

Author
Message
Avenging Eagle
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 29th Dec 2008 15:31
My question is simple:

Can the IsImmobile value change mid way through a game?

For example, a player triggers the IsImmobile value to change from 1 to 0. Is that possible?

Just wondered...

AE

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 29th Dec 2008 18:27 Edited at: 29th Dec 2008 18:35
Quote: "For example, a player triggers the IsImmobile value to change from 1 to 0. Is that possible?"


I am not aware of a scripting action to control the isimmobile, but the freeze action would do the same thing.

FREEZE=X             Stop entity from moving

I guess freeze=1 would freeze them and freeze=0 would unfreeze (thaw) them.

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 29th Dec 2008 21:32
...I think that Conjured Entertainment's solution is 100% on target.

As a last resort, it would be possible to create a seamless illusion, destroying the entity and spawning a clone, that is mobile...


Avenging Eagle
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 30th Dec 2008 09:46
@ Seth Black:
That's what I've been trying so far.

@ Conjured Entertainment
Thanks. I guess that command would have to be added to the entity's script though.

I'll keep working on it

AE

Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 31st Dec 2008 19:11
Well just so you don't get frustrated with the freeze=1 freeze=0 its actually freeze=(enter the amount of milliseconds). Hope i helped

]

Login to post a reply

Server time is: 2024-11-24 16:28:17
Your offset time is: 2024-11-24 16:28:17