Hi all,
I'm trying to use a script that makes a group be spawned from a location to another location when a trigger is activated. But i've run into trouble. Heres what I have so far:
c1 setpos[getpos logic2 select 0, getpos logic2 select 1, +1]
c2 setpos[getpos logic2 select 0, getpos logic2 select 1, +1]
c3 setpos[getpos logic2 select 0, getpos logic2 select 1, +1]
c4 setpos[getpos logic2 select 0, getpos logic2 select 1, +1]
c1/c2/c3 etc being the member of the squad, and l2 being the gamelogic I want them to be spawned to. (I don't know how to just get the whole group to be setposed at once, if anyone could help with that that would be good)
When I activate it, the squad is moved correctly and everything, but I get this error:
'c4 setpos[getpos logic2 select|#| 0, getpos logic2 select 1, +1]': Error getpos: Type Number, expected Object
Unfortunatly I have no idea how to fix this.
Does anyone know where I've screwed up?
Thanks