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
help with OnIgnite scripting
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#1
help with OnIgnite scripting

I want to light 8 torches to make something happen. How can I do that. I think I know how to make 1 torch work with the script, but how can I do it so I need to light all 8 torches to make it happen ?
02-19-2011, 07:12 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#2
RE: help with OnIgnite scripting

(02-19-2011, 07:12 PM)lightsheik Wrote: I want to light 8 torches to make something happen. How can I do that. I think I know how to make 1 torch work with the script, but how can I do it so I need to light all 8 torches to make it happen ?

Use a callback for every torch that adds a value to a torches_lit-variable and once it has reached.. say, 8, make it happen.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
02-19-2011, 07:29 PM
Find
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#3
RE: help with OnIgnite scripting

Sorry, I'm not that good with script and I dont really understand how to do that.
02-20-2011, 03:47 AM
Find
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#4
RE: help with OnIgnite scripting

(02-20-2011, 03:47 AM)lightsheik Wrote: Sorry, I'm not that good with script and I dont really understand how to do that.

Then try to do basic scripting and soon you will be able to do those scripts by yourself. There are many tutorials in the wiki or in this forum.

[Image: 18694.png]
02-20-2011, 10:00 PM
Find




Users browsing this thread: 1 Guest(s)