Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slenderman Monster
warmacha11 Offline
Junior Member

Posts: 38
Threads: 2
Joined: May 2012
Reputation: 1
RE: Slenderman Monster

(09-13-2012, 12:44 AM)candlejack131 Wrote:
(09-13-2012, 12:32 AM)warmacha11 Wrote:
(09-13-2012, 12:11 AM)candlejack131 Wrote: Ok one of my scripts of for ender isnt working. Not crashing but my map change scripted area isnt bringing me to my next map
Spoiler below!
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "key_laboratory_1", "mansion_6", "UsedKeyOnDoor", true);
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
AddEntityCollideCallback("Player", "DICKY", "MonsterFunction", true, 1);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_6", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_6", 0, false);
RemoveItem("key_laboratory_1");
}

void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
SetEntityActive("servant_grunt_2", true);
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_3", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_4", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_5", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_6", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_7", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_8", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_9", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_10", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_11", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_12", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_13", 0, "");
}

void ChangeMap(string &in asParent, string &in asChild, int alState)
{
ChangeMap("07_thenewwoods.map","woodsguy", "", "");
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

any one know why it won't bring me to my next map?
You didn't make a collide callback for the script area you want the player to touch so he can load the next map. You have three callbacks but they both go to monsterfunction, change one of them to changemap.

If that doesnt work change your void function from changemap to something else, because sometimes amnesia is weird and will only work if every function and void callbacks have different names.
Were do i put that?
What do you mean? Look under the void Onstart (first brackets) and you will notice that you have two collide callback functions under the same name, they both have monsterfunction, change one to ChangeMap
09-13-2012, 12:48 AM
Find


Messages In This Thread
Slenderman Monster - by candlejack131 - 07-22-2012, 04:26 AM
RE: Slenderman Monster - by Kman - 07-22-2012, 05:45 AM
RE: Slenderman Monster - by candlejack131 - 07-22-2012, 06:18 AM
RE: Slenderman Monster - by Traggey - 07-22-2012, 12:02 PM
RE: Slenderman Monster - by ferryadams10 - 09-04-2012, 01:24 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 07-22-2012, 12:20 PM
RE: Slenderman Monster - by Traggey - 07-22-2012, 12:29 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 07-22-2012, 12:42 PM
RE: Slenderman Monster - by candlejack131 - 07-22-2012, 05:57 PM
RE: Slenderman Monster - by Traggey - 07-22-2012, 06:40 PM
RE: Slenderman Monster - by candlejack131 - 07-22-2012, 06:46 PM
RE: Slenderman Monster - by Traggey - 07-22-2012, 09:34 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 07-22-2012, 11:12 PM
RE: Slenderman Monster - by candlejack131 - 07-22-2012, 11:54 PM
RE: Slenderman Monster - by Kman - 07-23-2012, 12:30 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 12:44 AM
RE: Slenderman Monster - by Anxt - 07-23-2012, 01:01 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 01:03 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 03:33 AM
RE: Slenderman Monster - by Anxt - 07-23-2012, 01:22 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 01:28 AM
RE: Slenderman Monster - by Anxt - 07-23-2012, 01:42 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 01:54 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 07-23-2012, 08:13 AM
RE: Slenderman Monster - by Traggey - 07-23-2012, 11:47 AM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 03:24 PM
RE: Slenderman Monster - by candlejack131 - 07-26-2012, 04:27 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 07-23-2012, 12:39 PM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 08:43 PM
RE: Slenderman Monster - by candlejack131 - 07-23-2012, 11:20 PM
RE: Slenderman Monster - by candlejack131 - 08-10-2012, 03:52 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-10-2012, 11:14 AM
RE: Slenderman Monster - by candlejack131 - 08-12-2012, 01:10 AM
RE: Slenderman Monster - by Ghieri - 08-11-2012, 01:54 PM
RE: Slenderman Monster - by Traggey - 08-12-2012, 09:31 AM
RE: Slenderman Monster - by candlejack131 - 08-12-2012, 06:49 PM
RE: Slenderman Monster - by Traggey - 08-12-2012, 07:03 PM
RE: Slenderman Monster - by candlejack131 - 08-13-2012, 05:19 AM
RE: Slenderman Monster - by Traggey - 08-13-2012, 10:02 AM
RE: Slenderman Monster - by candlejack131 - 08-13-2012, 11:25 PM
RE: Slenderman Monster - by candlejack131 - 08-17-2012, 02:18 AM
RE: Slenderman Monster - by Traggey - 08-18-2012, 03:52 PM
RE: Slenderman Monster - by candlejack131 - 08-18-2012, 05:34 PM
RE: Slenderman Monster - by candlejack131 - 08-20-2012, 09:13 PM
RE: Slenderman Monster - by Statyk - 08-21-2012, 12:53 AM
RE: Slenderman Monster - by candlejack131 - 08-21-2012, 03:27 AM
RE: Slenderman Monster - by darkely - 08-21-2012, 01:18 AM
RE: Slenderman Monster - by Your Computer - 08-21-2012, 01:34 AM
RE: Slenderman Monster - by Statyk - 08-21-2012, 04:05 AM
RE: Slenderman Monster - by candlejack131 - 08-21-2012, 08:11 AM
RE: Slenderman Monster - by triadtimes - 08-21-2012, 08:48 AM
RE: Slenderman Monster - by Kman - 08-21-2012, 08:40 AM
RE: Slenderman Monster - by Kman - 08-21-2012, 08:49 AM
RE: Slenderman Monster - by Traggey - 08-21-2012, 09:09 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-21-2012, 11:13 AM
RE: Slenderman Monster - by candlejack131 - 08-21-2012, 09:07 PM
RE: Slenderman Monster - by Traggey - 08-21-2012, 09:09 PM
RE: Slenderman Monster - by candlejack131 - 08-21-2012, 09:20 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-21-2012, 09:39 PM
RE: Slenderman Monster - by candlejack131 - 08-21-2012, 10:00 PM
RE: Slenderman Monster - by Statyk - 08-22-2012, 05:04 PM
RE: Slenderman Monster - by candlejack131 - 08-23-2012, 10:50 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-22-2012, 05:34 PM
RE: Slenderman Monster - by Statyk - 08-23-2012, 11:50 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-24-2012, 12:12 AM
RE: Slenderman Monster - by candlejack131 - 08-24-2012, 07:54 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-24-2012, 11:42 AM
RE: Slenderman Monster - by candlejack131 - 08-24-2012, 11:03 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-25-2012, 12:30 PM
RE: Slenderman Monster - by candlejack131 - 08-27-2012, 12:57 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-27-2012, 01:51 AM
RE: Slenderman Monster - by candlejack131 - 08-28-2012, 07:42 PM
RE: Slenderman Monster - by candlejack131 - 08-27-2012, 04:24 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-27-2012, 10:23 AM
RE: Slenderman Monster - by candlejack131 - 08-27-2012, 04:41 PM
RE: Slenderman Monster - by Traggey - 08-28-2012, 09:00 PM
RE: Slenderman Monster - by candlejack131 - 08-28-2012, 09:55 PM
RE: Slenderman Monster - by Traggey - 08-28-2012, 10:54 PM
RE: Slenderman Monster - by candlejack131 - 08-28-2012, 11:36 PM
RE: Slenderman Monster - by Streetboat - 08-29-2012, 12:57 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-29-2012, 01:04 AM
RE: Slenderman Monster - by Statyk - 08-29-2012, 01:07 AM
RE: Slenderman Monster - by candlejack131 - 08-29-2012, 03:10 AM
RE: Slenderman Monster - by darkely - 08-29-2012, 03:51 AM
RE: Slenderman Monster - by Kman - 08-29-2012, 03:29 AM
RE: Slenderman Monster - by Adny - 08-29-2012, 04:02 AM
RE: Slenderman Monster - by johnbox - 08-29-2012, 04:49 AM
RE: Slenderman Monster - by Statyk - 08-29-2012, 02:46 PM
RE: Slenderman Monster - by candlejack131 - 08-29-2012, 06:01 PM
RE: Slenderman Monster - by candlejack131 - 08-30-2012, 07:46 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-30-2012, 08:57 PM
RE: Slenderman Monster - by candlejack131 - 08-31-2012, 06:16 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 08-31-2012, 07:11 AM
RE: Slenderman Monster - by Obliviator27 - 08-31-2012, 01:52 PM
RE: Slenderman Monster - by candlejack131 - 09-01-2012, 09:28 PM
RE: Slenderman Monster - by candlejack131 - 09-01-2012, 10:17 PM
RE: Slenderman Monster - by Kman - 09-01-2012, 11:13 PM
RE: Slenderman Monster - by candlejack131 - 09-01-2012, 11:44 PM
RE: Slenderman Monster - by Obliviator27 - 09-02-2012, 01:05 AM
RE: Slenderman Monster - by candlejack131 - 09-02-2012, 02:21 AM
RE: Slenderman Monster - by candlejack131 - 09-02-2012, 11:58 PM
RE: Slenderman Monster - by Traggey - 09-03-2012, 12:55 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-04-2012, 02:08 PM
RE: Slenderman Monster - by ferryadams10 - 09-04-2012, 02:11 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-04-2012, 02:27 PM
RE: Slenderman Monster - by ferryadams10 - 09-04-2012, 02:28 PM
RE: Slenderman Monster - by candlejack131 - 09-04-2012, 11:05 PM
RE: Slenderman Monster - by ferryadams10 - 09-06-2012, 05:11 PM
RE: Slenderman Monster - by warmacha11 - 09-06-2012, 09:06 PM
RE: Slenderman Monster - by candlejack131 - 09-07-2012, 03:58 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-07-2012, 04:45 PM
RE: Slenderman Monster - by candlejack131 - 09-07-2012, 06:06 PM
RE: Slenderman Monster - by warmacha11 - 09-07-2012, 06:58 PM
RE: Slenderman Monster - by candlejack131 - 09-07-2012, 07:27 PM
RE: Slenderman Monster - by The chaser - 09-07-2012, 07:49 PM
RE: Slenderman Monster - by warmacha11 - 09-07-2012, 07:51 PM
RE: Slenderman Monster - by candlejack131 - 09-07-2012, 08:55 PM
RE: Slenderman Monster - by The chaser - 09-07-2012, 10:02 PM
RE: Slenderman Monster - by FlawlessHappiness - 09-08-2012, 11:51 AM
RE: Slenderman Monster - by candlejack131 - 09-08-2012, 04:50 PM
RE: Slenderman Monster - by warmacha11 - 09-08-2012, 04:02 AM
RE: Slenderman Monster - by FlawlessHappiness - 09-08-2012, 06:23 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-08-2012, 07:26 PM
RE: Slenderman Monster - by FlawlessHappiness - 09-08-2012, 07:31 PM
RE: Slenderman Monster - by candlejack131 - 09-08-2012, 11:10 PM
RE: Slenderman Monster - by The chaser - 09-08-2012, 07:29 PM
RE: Slenderman Monster - by candlejack131 - 09-08-2012, 07:36 PM
RE: Slenderman Monster - by The chaser - 09-08-2012, 08:07 PM
RE: Slenderman Monster - by FlawlessHappiness - 09-08-2012, 08:12 PM
RE: Slenderman Monster - by candlejack131 - 09-08-2012, 08:53 PM
RE: Slenderman Monster - by warmacha11 - 09-08-2012, 08:36 PM
RE: Slenderman Monster - by FlawlessHappiness - 09-08-2012, 08:56 PM
RE: Slenderman Monster - by candlejack131 - 09-08-2012, 09:00 PM
RE: Slenderman Monster - by warmacha11 - 09-08-2012, 11:45 PM
RE: Slenderman Monster - by candlejack131 - 09-09-2012, 12:00 AM
RE: Slenderman Monster - by warmacha11 - 09-09-2012, 12:19 AM
RE: Slenderman Monster - by candlejack131 - 09-09-2012, 12:25 AM
RE: Slenderman Monster - by warmacha11 - 09-09-2012, 12:35 AM
RE: Slenderman Monster - by warmacha11 - 09-11-2012, 05:33 PM
RE: Slenderman Monster - by The chaser - 09-11-2012, 05:49 PM
RE: Slenderman Monster - by candlejack131 - 09-11-2012, 09:10 PM
RE: Slenderman Monster - by Streetboat - 09-12-2012, 04:03 AM
RE: Slenderman Monster - by warmacha11 - 09-12-2012, 05:01 AM
RE: Slenderman Monster - by candlejack131 - 09-12-2012, 08:29 PM
RE: Slenderman Monster - by Streetboat - 09-13-2012, 12:55 AM
RE: Slenderman Monster - by candlejack131 - 09-13-2012, 12:11 AM
RE: Slenderman Monster - by warmacha11 - 09-13-2012, 12:32 AM
RE: Slenderman Monster - by candlejack131 - 09-13-2012, 12:44 AM
RE: Slenderman Monster - by warmacha11 - 09-13-2012, 12:48 AM
RE: Slenderman Monster - by candlejack131 - 09-13-2012, 01:24 AM
RE: Slenderman Monster - by warmacha11 - 09-13-2012, 02:09 AM
RE: Slenderman Monster - by candlejack131 - 09-13-2012, 11:24 AM
RE: Slenderman Monster - by candlejack131 - 09-13-2012, 09:48 PM
RE: Slenderman Monster - by candlejack131 - 09-27-2012, 08:21 PM
RE: Slenderman Monster - by darkely - 09-27-2012, 08:35 PM
RE: Slenderman Monster - by candlejack131 - 09-28-2012, 01:23 AM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-28-2012, 01:54 PM
RE: Slenderman Monster - by candlejack131 - 09-28-2012, 08:10 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 09-29-2012, 11:08 PM
RE: Slenderman Monster - by candlejack131 - 09-29-2012, 11:39 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 10-01-2012, 01:14 PM
RE: Slenderman Monster - by candlejack131 - 10-01-2012, 08:08 PM
RE: Slenderman Monster - by xxxxxxxxxxxxxxxx - 10-02-2012, 10:52 AM



Users browsing this thread: 2 Guest(s)