03-14-2013, 08:11 AM
So I'm making a new custom story (MUCH better than my first one, wayyy better) and ran into a small scripting question that should be extremely simple but for the life of me can't figure out.
I have an entity (wood_beam.ent) with StaticPhysics check marked in the editor. My question is how can I make the object a physics object again so it falls and can interact with the player when the player touches a certain ScriptArea? I know how to make the player interact with the area already so no need to explain that part. In my functions though what command would I write? I tried this one:
SetEntityInteractionDisabled("wood_beam_29", false);
But to no avail. Any ideas?
I have an entity (wood_beam.ent) with StaticPhysics check marked in the editor. My question is how can I make the object a physics object again so it falls and can interact with the player when the player touches a certain ScriptArea? I know how to make the player interact with the area already so no need to explain that part. In my functions though what command would I write? I tried this one:
SetEntityInteractionDisabled("wood_beam_29", false);
But to no avail. Any ideas?