07-02-2012, 07:32 PM
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.
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.