- Joined
- Jul 30, 2004
- Messages
- 451
maybe i'm missing the obvious, but i have this
XTEMP_n01 and XTEMP_n02 are defined as global integers, these locals are meant to overwrite that just in this trigger
and the output i get?
(0 0) <-- thats ok
(1 1) <-- what?! shouldn't that be (1 0)
(8 8) <-- what again?! that should be (1 8)
XTEMP_n01 and XTEMP_n02 are defined as global integers, these locals are meant to overwrite that just in this trigger
Code:
JOURNAL UpdateBasic
Events
Conditions
Actions
Custom script: local integer udg_XTEMP_n01
Custom script: local integer udg_XTEMP_n02
Set XTEMP_n01 = 0
Set XTEMP_n02 = 0
//
//some stuff here that doesn't matter
//
Game - Display to (All players) the text: ((String(XTEMP_n01)) + ( + (String(XTEMP_n02))))
Set XTEMP_n01 = 1 //normally this is a function, but its irrelevant, the function works
Game - Display to (All players) the text: ((String(XTEMP_n01)) + ( + (String(XTEMP_n02))))
Set XTEMP_n02 = 8 //same here
Game - Display to (All players) the text: ((String(XTEMP_n01)) + ( + (String(XTEMP_n02))))
//
//more stuff that doesn't matter
//
and the output i get?
(0 0) <-- thats ok
(1 1) <-- what?! shouldn't that be (1 0)
(8 8) <-- what again?! that should be (1 8)