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 Lighting a stove and billboard
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#6
RE: Lighting a stove and billboard

As for the "tinderbox"+i part, you should use a for loop.

for(int i=1;i<=999;i++)
AddUseItemCallback("", "tinderbox" + i, "bonfire", "Lit_stove", true);


The player can't have more than 999 tinderboxes :S

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
(This post was last modified: 10-02-2012, 06:42 PM by Wapez.)
10-02-2012, 06:42 PM
Find


Messages In This Thread
Lighting a stove and billboard - by The chaser - 10-02-2012, 06:02 PM
RE: Lighting a stove and billboard - by Acies - 10-02-2012, 06:29 PM
RE: Lighting a stove and billboard - by Robby - 10-02-2012, 06:35 PM
RE: Lighting a stove and billboard - by Acies - 10-02-2012, 06:41 PM
RE: Lighting a stove and billboard - by Wapez - 10-02-2012, 06:42 PM



Users browsing this thread: 1 Guest(s)