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
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#44
RE: Using a Single Crowbar on Multiple Doors

No, that's not gonna help, since she wants it to happen at an area, which hasn't been used before. Therefore asEntity would not be a possibility.

I know my solution works. I also know why it didn't work.

It shouldn't be +asParent. It should be +asChild

I hadn't checked what was asParent and asChild in your script.


So everything must be like this:

Areas named like: "AreaEffect_AreaBreak_1"

Script looking like:
PHP Code: (Select All)
CreateParticleSystemAtEntity("""ps_hit_wood.ps""AreaEffect_"+asChildfalse);
    
PlaySoundAtEntity("""break_wood_metal""AreaEffect_"+asChild0false); 

Trying is the first step to success.
(This post was last modified: 09-22-2014, 08:32 PM by FlawlessHappiness.)
09-22-2014, 08:29 PM
Find


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



Users browsing this thread: 1 Guest(s)