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 / coloff not working

Author
Message
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 9th Mar 2009 14:52 Edited at: 9th Mar 2009 14:54
I'm using a dynamic object and when I press the key F I would like the collision to turn off. Here's my script:

:state=0,scancodekeypressed=33,plrdistwithin=40:coloff

But the collision remains on. The object is dynamic and the script is set to the entities main script. Also, even though it is set to immobile=1, it still slowly falls through the floor (I played with the weight setttings aswell but no luck).

Does anyone know whats up with it?

EDIT: Sorry everyone, it's working now Stupid mistake

Migration Discussion Thread: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Piracy Discussion Thread:
http://forum.thegamecreators.com/?m=forum_view&t=142774&b=21
Brian In Korea
15
Years of Service
User Offline
Joined: 1st Mar 2009
Location:
Posted: 10th Mar 2009 07:16
oh, what was the mistake?
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 10th Mar 2009 16:06
I should have just set physics to 'Off'. And I've just realised I don't even need the entity anyway ^^

Migration Discussion Thread: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Piracy Discussion Thread:
http://forum.thegamecreators.com/?m=forum_view&t=142774&b=21

Login to post a reply

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