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
#19
RE: Using a Single Crowbar on Multiple Doors

I suggest renaming your crowbar item to just "crowbar" like you have it within GiveItem, and then also rename "Crowbar_1" in the callback to just "crowbar" in order to keep it the same.

This is because the crowbar you pick up (which is named Crowbar_1) will be possible to use to on any of the doors, but after using it, you're given a new crowbar item which is NOT named Crowbar_1, therefore it won't work on the doors. Make those names the same and it should, unless there's something else preventing it.

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


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



Users browsing this thread: 1 Guest(s)