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
Transfering key to another map and then unlock door
fuytko Offline
Junior Member

Posts: 41
Threads: 6
Joined: Jun 2011
Reputation: 1
#8
RE: Transfering key to another map and then unlock door

(08-25-2011, 02:06 AM)JenniferOrange Wrote: Already have it tested, yes, it will work :]
If it doesn't then my sincere apologies, i tested it on level doors and it worked for me though.

It doesn't work..

This script you thinks?

void OnStart()

{
AddUseItemCallback("", "Key_2", "level_celler_1", "OnPickup", true);
}

void OnPickup(string &in asItem, string &in asEntity)
{
    SetSwingDoorLocked("level_celler_1", false, true);
    PlaySoundAtEntity("", "unlock_door", "level_celler_1", 0, false);
    RemoveItem("Key_2");
}

I copy this script and put it in 01_EntryHall.hps and in 02_Study.hps .. But If I want go through level door to Study it shows message that this function already exists with same parameters ..
08-25-2011, 06:33 AM
Find


Messages In This Thread
RE: Transfering key to another map and then unlock door - by fuytko - 08-25-2011, 06:33 AM



Users browsing this thread: 1 Guest(s)