Well, it's me, back again needing help on Physix. Plystire and I just had a chat and he agreed to design a custom mod for me. After bumping ideas (and dollar signs), the mod was made
(@Plystire I'll have you the money when the banks open to get mine) and since I don't officially have it yet, I took the trial for Ply's Mod for a spin (They are kinda similar in fundamentals). Here's what I need you guys for:
I have this script that I'm making that when you push a switch the gravity of the affected entities turns off (easy). Right now, I have it when you push the switch again, it turns back on (thanks again Ply!), but what I need it to do is: when it's pushed a second time, the box freezes in space and doesn't move. Then, when it's pressed a THIRD time, the cube then starts, not only moving, but regains gravity. Due to the nature of this project, the only NEW FPI tag is "gravity", which turns an entity's gravity back on when it has been turned off. This is what I have so far:
;Artificial Intelligence Script
;Header
desc = Mod Gravity (Switch)
;Triggers
:state=0,activated=0:gravity
:state=0,activated=1:nogravity
:state=0,activated=2:freeze=30000
;End of Script
Needless to say, it DOESN'T work. Anyone have any ideas?
My cubes keep getting caught in the vents!!!