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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Openening a closet door
oscar1007 Offline
Member

Posts: 64
Threads: 24
Joined: Oct 2011
Reputation: 0
#1
Openening a closet door

Hey I need some help with scripting for a custom story.
A wardrope is suppose to open up when a monster walks into an area.

Here is what i've got.



void run1(string &in asParent, string &in asChild, int alState)
{
SetMoveObjectState("cabinet_nice_2", 1);
ShowEnemyPlayerPosition("servant_grunt_1");
}

it's just a part of my complete scipt.

However the door doesn't open and yes I have tried with swing door.

How do I do this?

Thanks.

Money can't buy you happiness. But I rather cry in my ferrari.

PROJECT:
http://www.moddb.com/mods/oscar1007
(This post was last modified: 07-02-2012, 07:49 PM by oscar1007.)
07-02-2012, 07:32 PM
Find


Messages In This Thread
Openening a closet door - by oscar1007 - 07-02-2012, 07:32 PM
RE: Openening a closet door - by Cruzore - 07-02-2012, 07:41 PM
RE: Openening a closet door - by oscar1007 - 07-02-2012, 07:48 PM



Users browsing this thread: 1 Guest(s)