Page 1 of 1

Variable Targets

Posted: Thu Dec 18, 2003 2:17 am
by omniscient
well, i had a strange idea to make a flak cannon aimable with the wheeles on the actual canon. would that work correctly if i added this to my script

z1 = 1
x1 = 1
y1 = 1

player_z1:
z1 = z1+1
player_y1:
y1 = y1+1
player_x1:
x1 = x1+1

target(x1,y1,z1)
and so on

would that script work, assuming my triggers had a setthread of player_y1 player_z1 and all taht good stuff :D

Posted: Thu Dec 18, 2003 4:37 pm
by jv_map
Seems like a pretty cool script but I'm not sure if it'll do what you want :wink:

Posted: Thu Dec 18, 2003 11:39 pm
by omniscient
well, what will it do?

Posted: Sat Dec 20, 2003 1:00 am
by nuggets
target will be (2,2,2)

Posted: Mon Dec 22, 2003 12:28 am
by omniscient
thats what i thought, cool thanks.

Posted: Wed Dec 24, 2003 2:51 am
by omniscient
that is what i wanted, what did u think i wanted?

Posted: Wed Dec 24, 2003 8:24 am
by jv_map
I thought you wanted to make a flak cannon aimable with the wheeles on the actual canon. :?

Posted: Wed Dec 24, 2003 6:56 pm
by omniscient
um, why would this not work then? put the trigger use on the wheels and give them a key/value setthread player_z1