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 Need help with hazards
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Need help with hazards

Try RandInt instead of RandFloat; The game is generating a random decimal between 1 & 6, but I'm assuming the names of the barrels in the level editor (that you're trying to set active) are just integers (i.e. "barrel_1", not "barrel_1.241")

Scripting isn't my cup of tea, but I hope that helped!

I rate it 3 memes.
09-22-2012, 02:02 AM
Find


Messages In This Thread
Need help with hazards - by ooadrianoo - 09-22-2012, 01:55 AM
RE: Need help with hazards - by Adny - 09-22-2012, 02:02 AM
RE: Need help with hazards - by Your Computer - 09-22-2012, 02:03 AM
RE: Need help with hazards - by ooadrianoo - 09-22-2012, 02:05 AM
RE: Need help with hazards - by Your Computer - 09-22-2012, 02:16 AM
RE: Need help with hazards - by ooadrianoo - 09-22-2012, 09:44 AM
RE: Need help with hazards - by WALP - 09-22-2012, 10:24 AM



Users browsing this thread: 1 Guest(s)