You should open the door and the monster have to come out.
How can I put a monster in a wardrobe so, that the doors of the wardrobe don`t open.
Should I make the monster a little bit smaller? How can I make this?
Here's a way, select the monster in the level editor and un-check active then use this code.
Code:
void OnStart()
{
SetEntityPlayerInteractCallback("closetname", "monster", false);
}
void monster(string &in asEntity)
{
SetEntityActive("monstername", true);
}
the false in SetEntityPlayerInteractCallback should be true or else it will call everytime you touch the closet (even if the.monster wont spawn again) its easier to have it removed when you call the callback for the first time
(07-04-2012, 03:36 PM)ooadrianoo Wrote: [ -> ]Doesn`t work :S If I touch the closet, there don`t spawn a monster.
http://s7.directupload.net/file/d/2941/lc6pzxi7_png.htm
You told the game to look for function
servant_grunt_1. However, no such function can be seen in your code. The only relevant function is
monster, but the code doesn't link the two.
Thank you
One more question: how can I make a painting removeable?