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
Need help, again :P
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#19
RE: Need help, again :P

(10-26-2012, 01:25 PM)belikov Wrote: So in conclusion:
AddLocalVarInt("Var", -1);
is going to do var=var-1
and
SetLocalVarInt("Var", -1); is going to do var=-1
Right?
Let's imagine that we have the var set to 5. If we do this:

AddLocalVarInt("Var", -1);

I would have it to 4.

But, if I do:

SetLocalVarInt("Var", 1);

It's going to put the Var to 1.

SetLocal sets a position for the Var, the "AddLocalVarInt("Var", -1);" erases a value of "1" to the Var.
Did you understand? Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-26-2012, 02:00 PM
Find


Messages In This Thread
Need help, again :P - by Zaapeer - 10-25-2012, 03:08 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 03:12 PM
RE: Need help, again :P - by Zaapeer - 10-25-2012, 03:29 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 04:27 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 06:48 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 08:23 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 08:51 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 09:27 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 10:17 PM
RE: Need help, again :P - by FlawlessHappiness - 10-25-2012, 10:49 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 11:21 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 06:44 AM
RE: Need help, again :P - by FlawlessHappiness - 10-26-2012, 07:01 AM
RE: Need help, again :P - by The chaser - 10-26-2012, 09:45 AM
RE: Need help, again :P - by FlawlessHappiness - 10-26-2012, 10:59 AM
RE: Need help, again :P - by Melvin - 10-26-2012, 11:13 AM
RE: Need help, again :P - by The chaser - 10-26-2012, 11:25 AM
RE: Need help, again :P - by ZodiaC - 10-26-2012, 01:25 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 02:00 PM
RE: Need help, again :P - by ZodiaC - 10-26-2012, 02:32 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 04:41 PM
RE: Need help, again :P - by Zaapeer - 10-27-2012, 12:17 AM
RE: Need help, again :P - by The chaser - 10-27-2012, 08:24 PM



Users browsing this thread: 1 Guest(s)