Home   Help Search Login Register  

Author Topic: start in heli  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

PimpD

  • Guest
start in heli
« on: 17 Sep 2003, 16:56:22 »
hi anyone know How I can make PLAYERS (MultiPlayer) start in A heli when they start an mission?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:start in heli
« Reply #1 on: 17 Sep 2003, 17:21:19 »
If you have the chopper in same group as the units, you can set 'In Cargo' in the unit menu special field.
That's     'Unit menu' -> 'Special' drop down box -> 'In cargo'


If you don't you can use a command
this moveincargo vehiclename
where this can be replaced with the units name if you're not using the command from his init field.
vehiclename should be replaced by the name of the vehicle you want the unit to board.

A friendly tip if you have all the units in same group would be to use
"_x moveincargo vehiclename" foreach units group this
in the leaders init field.
« Last Edit: 17 Sep 2003, 17:21:38 by Artak »
Not all is lost.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:start in heli
« Reply #2 on: 17 Sep 2003, 18:41:44 »
Quote
A friendly tip if you have all the units in same group would be to use
"_x moveincargo vehiclename" foreach units group this
in the leaders init field.

@Artak, as it's multiplayer, i wouldn't recommend this one.
Remember what has happened, when those "think_on_my_own_way" guys decided not to choose
the groupleader, and then they even disabled the Leader's AI
slot in the player selection menu.

Ya know their yelling when all were starting in the water instead of inside the chopper  ;D

@PimpD - stick to Artak's first suggestion: this MoveIncargo heli
in each units init field, or unitname MoveInCargo heli
in the init.sqs file.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:start in heli
« Reply #3 on: 17 Sep 2003, 19:58:19 »
Naturally, you're right Chris  :)
Not all is lost.

Offline revellion

  • Contributing Member
  • **
    • My Website
Re:start in heli
« Reply #4 on: 07 Oct 2003, 11:59:13 »
you could also use this on the Group leaders'INIT FIELD:  "_x moveincargoheli" foreach units this   ;)


ENJOY  8)
Best Logistic Addons and Missions: www.TheChainOfCommand.com

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:start in heli
« Reply #5 on: 07 Oct 2003, 12:25:42 »
umm..
"_x moveincargo heli" foreach units group this
Not all is lost.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:start in heli
« Reply #6 on: 07 Oct 2003, 15:43:21 »
Well, just for info:

"_x moveinCargo heliname" forEach units this

"_x moveinCargo heliname" forEach units group this

works only in the init field


"_x moveinCargo heliname" forEach units unitname

"_x moveinCargo heliname" forEach units groupname

"_x moveinCargo heliname" forEach units group unitname

works somewhere external (not limited to the init field of the
unit itself)

But generally all variants do the same.

units unitname = all units in the same group as the unit itself
units groupname = all units of given group
units group unitname = all units of the group of given unit

units this = all units of the unit, where THIS belongs to
group this = all units of the group, where THIS belongs to

hope this clears some confusion i always take notice off everytime when it comes to movein/driver-cargo-gunner situations.

~S~ CD
« Last Edit: 07 Oct 2003, 16:27:27 by Chris Death »
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted