Alright...this is wat happens when i load the Custom story or Reload it (In this case reload it)
http://postimage.org/image/4any4osw7/
Can anyone show me a quick fix?
here is the script i used:
1////////////////////////////
2//Run first time starting map
3void OnStart()
4{
5SetEntityCallbackFunc("", "key_torture_chamber_1", "UsedKeyOnDoor", true);
6}
7void OnPickup(string &in asEntity, string &in type)
8{
9AddUseItemCallback("", "key_torture_chamber_1", "door_hub_1", "UsedKeyOnDoor", true);
10{
11SetEntityActive("servant_grunt_1", true);
12ShowEnemyPlayerPosition("servant_grunt_1");
13}
14void UsedKeyOnDoor(string &in asItem, string &in asEntity)
15{
16SetLevelDoorLocked("level_hub_1", false);
17PlaySoundAtEntity("", "unlock_door", "level_hub_1", 0.0f, false);
18RemoveItem("key_torture_chamber_1");
19AddDebugMessage("Key On Door", false);
20}
21
22////////////////////////////
23//Run when leaving map
24void OnLeave()
25}
26
27{
Il leave the custom story for you to download if you want to...it's small with only 2 maps...currently being made...it's for pewdiepie...test it out and tell me what you think when it is fixed il upload it again here...