11-29-2011, 04:39 PM
Im working on a custom story in amnesia and im scripting my first big monster scare. Whats supposed to happen is that you walk up to this door and the door flys open and a monster comes running out of it. I already have the monster scripted to what I want it to do. What I need help with is how to get the door to swing open. I looked up tutorials, but couldnt find any on this. Heres the code I was trying to use.
SetMoveObjectState(string& asName, float afState);
I dont know what I was supposed to put on the string& asName part. So if you know how to do this could you please give me the scripting details on it cause I am very new to all of this thanks.
SetMoveObjectState(string& asName, float afState);
I dont know what I was supposed to put on the string& asName part. So if you know how to do this could you please give me the scripting details on it cause I am very new to all of this thanks.