Home   Help Search Login Register  

Author Topic: start in cargo?  (Read 584 times)

0 Members and 1 Guest are viewing this topic.

SnakeFart

  • Guest
start in cargo?
« on: 15 Apr 2003, 03:07:05 »
just as the question asks how do i get a group to start in an vehicle  cause i dont want them to run to it (its in the water)... answer only if there is an init field cause i dont have time to learn scripting with notepad
« Last Edit: 15 Apr 2003, 03:07:27 by SnakeFart »

Kaliyuga

  • Guest
Re:start in cargo?
« Reply #1 on: 15 Apr 2003, 03:17:06 »
well.. you can use this :


unitname moveincargo vehiclename

in their init field and they will start in cargo automatically

*note the unitname and vehiclename are the ones you assign in the mission editor*

Or you could also group them all together (this includes the vehicle) and make the "special" field  read  'in cargo'   instead of 'in formation'
:toocool:
« Last Edit: 15 Apr 2003, 03:18:37 by Kaliyuga »

SnakeFart

  • Guest
Re:start in cargo?
« Reply #2 on: 15 Apr 2003, 04:13:03 »
ok i get that and i have another question should i start to name every unit and vehicle when i place them?

Captain Winters

  • Guest
Re:start in cargo?
« Reply #3 on: 15 Apr 2003, 05:25:26 »
Not every soldier nessisary. For intro and cutscenes and the sort its a good idea, but only do it in missions if you're going to use them as a part of a script. If you name everyone you'd have 5345454444546545353565558754563686543557893656536748534575435474536545675447545334535 names to memorize!  8)

Tanks!  :o

_hammy_

  • Guest
Re:start in cargo?
« Reply #4 on: 15 Apr 2003, 05:32:51 »
what you can do to have a whole group start out in the vehicle, you can do.

(put in init field of group leader)

grp1 = group this; _x moveincargo veh foreach units grp1

well i think thats how you do it...

I only name units when i need to name them... such as if i was going to need that unit in a script, then I would need to name that unit.

Flapje

  • Guest
Re:start in cargo?
« Reply #5 on: 15 Apr 2003, 15:40:24 »
answer only if there is an init field cause i dont have time to learn scripting with notepad

2 days ago I told you how to script in notepad... just give it a try, you can put any command just in there. I was always afraid to use scripts, but on a time I wanted to make a cool cutscene and it had timed shooting and stuff, impossible to do without scripting... so I just put some commands in a notepad, and it worked!! :wow: it was just a wild shot. so, just try some time, fool around.

as for the names, just use names as a1 and a2 or j1 and stuff ::) and for the more imporant guys comm and you or player. that's what I do.
« Last Edit: 15 Apr 2003, 16:04:25 by Flapje »