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
SanityBoost script is giving me an error?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#10
RE: SanityBoost script is giving me an error?

(10-20-2011, 10:21 PM)MissMarilynn Wrote: Now my scripting isn't working for the monster being set active by picking up a crowbar. I want him to head to the player right away. My scripting is:

SetEntityPlayerInteractCallback("crowbar_1", "MonsterSpawn", false);



void MonsterSpawn(string& asName, string& asCallback)
{
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
ShowEnemyPlayerPosition("crowbarscare");
SetEntityActive("crowbarscare", true);
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 4, "");
(and then lots more pathnodes)
}

You made the same mistake as with IsItLockedComplete.

(10-20-2011, 10:21 PM)MissMarilynn Wrote: Crowbarscare is the monster.

So there are two monsters? Or is "servant_grunt_1" supposed to be "crowbarscare"?

Tutorials: From Noob to Pro
10-20-2011, 10:55 PM
Website Find


Messages In This Thread
RE: SanityBoost script is giving me an error? - by Your Computer - 10-20-2011, 10:55 PM



Users browsing this thread: 4 Guest(s)