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
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#9
RE: Using a Single Crowbar on Multiple Doors

On your SetEntityActive line within TimerPlaceCrowbar, try doing "Joint_"+asTimer instead. If your joint name is Joint_Door_1 and asTimer is the same as your door name, then doing what you have will result in Joint_Door_Door_1.

Just trace it back if you're unsure. asTimer = internal name from the AddTimer function calling, which is a few lines above. That internal name = asEntity of the UseCrowbarOnDoor function. asEntity in the function creating that callback is "Door_"+i, so "Door_1" for example, depending on the door.

(This post was last modified: 09-22-2014, 07:07 AM by Mudbill.)
09-22-2014, 07:03 AM
Find


Messages In This Thread
RE: Using a Single Crowbar on Multiple Doors - by Mudbill - 09-22-2014, 07:03 AM



Users browsing this thread: 1 Guest(s)