The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Door Opening Scripting Question
NuggetBlubber Offline
Junior Member

Posts: 13
Threads: 7
Joined: Nov 2011
Reputation: 2
#1
Door Opening Scripting Question

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.

11-29-2011, 04:39 PM
Find


Messages In This Thread
Door Opening Scripting Question - by NuggetBlubber - 11-29-2011, 04:39 PM



Users browsing this thread: 1 Guest(s)