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
Trying to script
Melaara Offline
Junior Member

Posts: 19
Threads: 2
Joined: Apr 2014
Reputation: 1
#8
RE: Trying to script

(04-24-2014, 08:07 PM)Mudbill Wrote: The reason nothing happens is because you have nothing in your MonsterFunction block.

PHP Code: (Select All)
void MonsterFunction(string &in asParentstring &in asChildint alState)
{


It's empty. You need to put something in there. Probably wanna move the SetEntityActive function you have in OnStart into there instead.

Do you have the area in your level editor named "scr_enemy1"?


That finally worked! Thank you! I did not know that I had to put it in there since all I wanted to do was to spawn the monster that moment I walk into the script area. I watched some tutorials, nothing was mentioned there either. :/ Well, at least it's solved! Thank you! Smile
04-24-2014, 11:26 PM
Find


Messages In This Thread
Trying to script - by Melaara - 04-24-2014, 03:30 PM
RE: Trying to script - by PutraenusAlivius - 04-24-2014, 03:36 PM
RE: Trying to script - by Mudbill - 04-24-2014, 04:34 PM
RE: Trying to script - by Melaara - 04-24-2014, 05:36 PM
RE: Trying to script - by FlawlessHappiness - 04-24-2014, 06:19 PM
RE: Trying to script - by Melaara - 04-24-2014, 07:18 PM
RE: Trying to script - by Mudbill - 04-24-2014, 08:07 PM
RE: Trying to script - by Melaara - 04-24-2014, 11:26 PM



Users browsing this thread: 1 Guest(s)