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
For-loop - not declared [SOLVED]
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: For-loop - not declared

Putting it there isn't gonna help much, since CheckBattle is actually checking the value of that int and if CheckBattle sets it to 10 all the time, there's no reason to check it..


I'm gonna try to fix this with a timer. Got other solutions? They'll be accepted with smiles ^^

(08-22-2014, 06:45 PM)Wapez Wrote: An int dies after it's functions is done. You need to use SetLocalVarInt("EnemyMonsterHealth);

Woop woop thanks! I'll see how it works!



EDIT: Oh god... It was too simple...

Thanks Wapez you solved one part.

The other part was... I need to remember to use GetLocalVarInt and not just use the name of the variable.

Trying is the first step to success.
(This post was last modified: 08-22-2014, 07:02 PM by FlawlessHappiness.)
08-22-2014, 06:46 PM
Find


Messages In This Thread
RE: For-loop - not declared - by Neelke - 08-22-2014, 06:41 PM
RE: For-loop - not declared - by Wapez - 08-22-2014, 06:45 PM
RE: For-loop - not declared - by FlawlessHappiness - 08-22-2014, 06:46 PM



Users browsing this thread: 1 Guest(s)