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
#31
RE: [SOLVED] Using a Single Crowbar on Multiple Doors

Okay we need to do something more clever then.

Oh, and one more thing: If you're using a lot of things with for-loops, it might be better to simply use the same one, by doing so:

PHP Code: (Select All)
for(int i 1<= 4i++) {
    
AddUseItemCallback("crowbarondoors""Crowbar_1""Door_"+i"UseCrowbarOnDoor"false);
    
AddEntityCollideCallback("Joint_Door_"+i"AreaBreak_"+i"BreakDoor"true1);


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


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



Users browsing this thread: 1 Guest(s)