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
How to fix the error
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#25
RE: How to fix the error

So the area which activates the Brute is called brutey, the area in which the Brute walks is called brute_go. Check if the names are the same in the editor and make sure the areas are big enough.
Not sure if SetEnemyDisableTriggers("Brute", true); disables interaction with areas too.
You may try to add SetEnemyDisableTriggers("Brute", false); to "unlockdoor".
void unlockdoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("unlock", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "unlock", 0, false);
RemoveItem("key");
AddEntityCollideCallback("Brute", "brute_go", "Monsterdisappear", true, 1);
SetEnemyDisableTriggers("Brute", false);
}

[Image: 18694.png]
(This post was last modified: 10-25-2012, 08:20 AM by Ongka.)
10-25-2012, 08:19 AM
Find


Messages In This Thread
How to fix the error - by Josh9810 - 10-23-2012, 01:16 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 01:27 PM
RE: How to fix the error - by GrAVit - 10-23-2012, 04:12 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 04:35 PM
RE: How to fix the error - by ZodiaC - 10-23-2012, 05:43 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 06:34 PM
RE: How to fix the error - by Josh9810 - 10-24-2012, 04:13 AM
RE: How to fix the error - by The chaser - 10-24-2012, 06:36 AM
RE: How to fix the error - by Josh9810 - 10-24-2012, 07:31 AM
RE: How to fix the error - by The chaser - 10-24-2012, 09:13 AM
RE: How to fix the error - by Josh9810 - 10-24-2012, 09:22 AM
RE: How to fix the error - by The chaser - 10-24-2012, 09:41 AM
RE: How to fix the error - by ZodiaC - 10-24-2012, 11:28 AM
RE: How to fix the error - by Josh9810 - 10-25-2012, 05:35 AM
RE: How to fix the error - by Ongka - 10-25-2012, 06:59 AM
RE: How to fix the error - by ZodiaC - 10-23-2012, 06:54 PM
RE: How to fix the error - by Robby - 10-23-2012, 06:56 PM
RE: How to fix the error - by FlawlessHappiness - 10-24-2012, 07:02 AM
RE: How to fix the error - by FlawlessHappiness - 10-24-2012, 09:50 AM
RE: How to fix the error - by Ongka - 10-24-2012, 01:11 PM
RE: How to fix the error - by ZodiaC - 10-24-2012, 02:05 PM
RE: How to fix the error - by Ongka - 10-24-2012, 04:39 PM
RE: How to fix the error - by FlawlessHappiness - 10-25-2012, 06:59 AM
RE: How to fix the error - by Josh9810 - 10-25-2012, 07:53 AM
RE: How to fix the error - by Ongka - 10-25-2012, 08:19 AM
RE: How to fix the error - by Josh9810 - 10-26-2012, 05:51 AM
RE: How to fix the error - by Josh9810 - 10-26-2012, 07:41 AM



Users browsing this thread: 4 Guest(s)