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
Monster Appear Script Problem
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#2
RE: Monster Appear Script Problem

try adding spaces (you always have to add spaces after the , )
 
void OnStart()
{
AddEntityCollideCallBack("Player", "start", "monster", true, 1);
AddEntityCollideCallBack("brute", "stop", "monsterend", true, 1);
}
 
void monster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Brute", true);
AddEnemyPatrolNode("brute", "node", 0, "");
}
 
void monsterend(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Brute", false);
}
 
like this Big Grin

CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
(This post was last modified: 07-24-2012, 08:57 PM by Steve.)
07-24-2012, 08:56 PM
Find


Messages In This Thread
Monster Appear Script Problem - by theknig - 07-24-2012, 08:47 PM
RE: Monster Appear Script Problem - by Steve - 07-24-2012, 08:56 PM
RE: Monster Appear Script Problem - by drunkmonk - 07-24-2012, 08:57 PM
RE: Monster Appear Script Problem - by theknig - 07-24-2012, 09:25 PM
RE: Monster Appear Script Problem - by drunkmonk - 07-24-2012, 09:30 PM



Users browsing this thread: 1 Guest(s)