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
a proper scripting loop
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#6
RE: a proper scripting loop

well, i erased the testing i was doing about global script variable, so i have nothing to show, but roughly, i want to know where i have to declare the variable. I looked on your map.hps when i was testing Pandemoneus, and i think i did the exact same thing. You declared SetLocalVarInt inside OnStart, and then you variable is available through the entire script, and you call it with GetLocalVarInt. But i don't know what was wrong with my script.

So, can i declare everywhere, or only inside OnStart?
Thank you.
09-23-2010, 02:57 PM
Find


Messages In This Thread
a proper scripting loop - by gosseyn - 09-22-2010, 05:42 PM
RE: a proper scripting loop - by jens - 09-22-2010, 06:09 PM
RE: a proper scripting loop - by gosseyn - 09-22-2010, 06:19 PM
RE: a proper scripting loop - by gosseyn - 09-23-2010, 02:02 PM
RE: a proper scripting loop - by Pandemoneus - 09-23-2010, 02:47 PM
RE: a proper scripting loop - by gosseyn - 09-23-2010, 02:57 PM
RE: a proper scripting loop - by jens - 09-23-2010, 02:58 PM



Users browsing this thread: 1 Guest(s)