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
Script Help [SOLVED] Using a Single Crowbar on Multiple Doors
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#2
RE: Using a Single Crowbar on Multiple Doors

You can try to check what entity the crowbar is being used at.

if(asEntity == "NameOfDoor")
{
     //Setup the stuff you want to happen for this door
}
else if(asEntity == "ThisNameOfDoor")
{
     //Setup the other door here
}

Basically, you do all four doors in one single use item script.
At least I hope this is what youre looking for.

Derp.
(This post was last modified: 09-21-2014, 08:21 PM by Neelke.)
09-21-2014, 08:20 PM
Find


Messages In This Thread
RE: Using a Single Crowbar on Multiple Doors - by Neelke - 09-21-2014, 08:20 PM



Users browsing this thread: 1 Guest(s)