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

Edit: AHEM, I'll just spoiler this because of the comment below Wink

Spoiler below!
See, your particles and sounds are being played at the area named AreaEffect for each door. Because the doors probably aren't in the same location, that won't do well. Try this:

Rename the area for each door to match the placement of it, for example AreaEffect_Door_1 for Door_1.

In the script, do a similar thing as before with the particle and sound script lines. When referencing the "AreaEffect" instead try "AreaEffect_"+GetLocalVarString("CrowbarDoor"). If that string is Door_1, then the name should match the area by Door_1.

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


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



Users browsing this thread: 1 Guest(s)