Home   Help Search Login Register  

Author Topic: Get in the god damn vehicle  (Read 474 times)

0 Members and 1 Guest are viewing this topic.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
Get in the god damn vehicle
« on: 02 Jul 2003, 08:50:59 »
hi

im having this really annoying problem

i have a convoy of 3 HMMWV's named HMMWV 1, 2 and 3
and i created a 3 small ranger groups Ranger_2_1, Ranger_2_4 and Ranger_2_5

i want Ranger21 to hop in the first HMMWV, Ranger24 to hop in the second HMMWV and Ranger25 in the 3rd

i ve grouped the men using Ranger_2_1 = groupthis and so on and in the get in waypoint i placed in the on activation line
"_x assignascargo HMMWV1" foreach units Ranger_2_1; (units Ranger_2_1) ordergetin true and so on for the rest but when they get to the getin waypoint they just stop and they dont board the right vehicle

how do i make them get in their assigned vehicles because im going to go homocidal again

Thanx

Tim




"Whoever said nothing is impossible, never tried slamming a revolving door."

CrashnBurn

  • Guest
Re:Get in the god d**n vehicle
« Reply #1 on: 02 Jul 2003, 10:00:02 »
(units Ranger_2_1) ordergetin true

This is wrong. It needs to be an array of unitnames, so you use the unitnames with brackets like so-

[unit1,unit2,unit3] ordergetin true

deaddog

  • Guest
Re:Get in the god d**n vehicle
« Reply #2 on: 02 Jul 2003, 14:52:13 »
Quote
(units Ranger_2_1) ordergetin true
This should work because "units" returns an array.  

Try changing the "get  in" waypoint to a standard "move" waypoint.  I bet OFP is confused because you have a "getin" without a matching "load" waypoint.

I answered a similar post a while back:
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=6875;start=0

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Get in the god d**n vehicle
« Reply #3 on: 02 Jul 2003, 15:37:05 »
nah it shudnt b a prob - but i think ofp have somtimesprob w/ da ordergetin array so try doin it like dat

"[_X] ordergetin true" foreach (units Ranger_2_1)

Quote
grouped the men using Ranger_2_1 = groupthis

also u need 2 remove da space between da group nd da this so it shud b

Ranger_2_1 = group this

:P :P :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta