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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WIP] Skitzometric - New custom sotry
Reds. Offline
Junior Member

Posts: 5
Threads: 2
Joined: Oct 2011
Reputation: 0
#6
RE: [WIP] Skitzometric - New custom sotry

Thanks guys. Quick question. How would I set a item to break a lock? I tried using

AddUseItemCallback("", "Hammer", "Padlock_main", "CellDoorMainOpen", true);


void CellDoorMainOpen(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("CellDoorMain", false, true);
SetPropHealth("Padlock_main", 0);
PlaySoundAtEntity("", "wheel_metal_min_max.snt", "CellDoorMain", 0, false);
AddTimer("", 0.5f, "FirstGrunt");
}

any ideas? haven't had to hard of a time with the scripts but can't seem to get this to work.


10-13-2011, 12:09 PM
Find


Messages In This Thread
[WIP] Skitzometric - New custom sotry - by Reds. - 10-05-2011, 06:30 PM
RE: Skitzometric - New custom sotry - by Elven - 10-05-2011, 06:37 PM
RE: [WIP] Skitzometric - New custom sotry - by Reds. - 10-13-2011, 12:09 PM



Users browsing this thread: 1 Guest(s)