Tiger
Posting Freak
Posts: 1,874
Threads: 16
Joined: Nov 2012
Reputation:
55
|
RE: Adding mementos to locked doors?
ok, here it is:
Spoiler below!
void OnStart()
{
AddEntityCollideCallback("Player", "ChangeLevelScript_1", "ChangeMap_1", true, 1);
}
void ChangeMap_1 (string &in asParent, string &in asChild, int alState);
{
ChangeMap("InsideCabin.map", "PlayerStartArea_2, "player_jump6.ogg", "player_bodyfall5.ogg");
}
if(GetSwingDoorLocked("BlockedDoor") == true);
{
AddQuest("BlockedDoorQuest", "BlockedDoorQuest");
}
void OnEnter()
{
SetSkyBoxActive(true);
SetSkyBoxTexture("NightSky.dds");
}
(This post was last modified: 11-05-2012, 05:34 PM by Tiger.)
|
|
11-05-2012, 05:34 PM |
|