Post your scripting questions / solutions here
Moderator: Moderators
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
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

-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
Seems like a pretty cool script but I'm not sure if it'll do what you want

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
by omniscient »
well, what will it do?
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
-
Contact:
Post
by nuggets »
target will be (2,2,2)
hope this helps, prob not cos it's all foreign 2 me :-/
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
by omniscient »
thats what i thought, cool thanks.
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
by omniscient »
that is what i wanted, what did u think i wanted?
-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
I thought you wanted to make a flak cannon aimable with the wheeles on the actual canon.

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
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