Home   Help Search Login Register  

Author Topic: player starts as cargo in a non-group vehicle  (Read 898 times)

0 Members and 1 Guest are viewing this topic.

Offline ONoSixIsDown

  • Members
  • *
player starts as cargo in a non-group vehicle
« on: 14 Nov 2005, 22:30:24 »
I i'm trying to make a mission where a player starts as cargo in a vehicle with out the player and vehicle being in the same group.

what i want is to have the vehicle to go through a few waypoints, drop off the player at the "transport unload" waypoint, then continue on its way.  

i've tried the "assignAsCargo" and MoveToCargo" commands in the intitialization fields but cant get it to work.

am i going about this the wrong way?
CRIMSON REIGN COMMING..... eventually :/

mccallum1992

  • Guest
Re:player starts as cargo in a non-group vehicle
« Reply #1 on: 14 Nov 2005, 22:35:12 »
I beleive searching the site will do this for you,
Just type in:
Name1 moveincargo Nameoftruck;


Offline 456820

  • Contributing Member
  • **
Re:player starts as cargo in a non-group vehicle
« Reply #2 on: 14 Nov 2005, 22:35:46 »
ive never heard of "MoveTocargo" but you may be thinking of "Moveincargo" command ie
player moveincargo car1

also from the sounds of your mission it sounds like a group is in the truck and so is the player not grouped and is meant to disembark at the transport unload waypoint
one thing there if theres anyone else in the cargo position they will be forced to get out at the transport unload waypoint

hope anyof that helps

Offline ONoSixIsDown

  • Members
  • *
Re:player starts as cargo in a non-group vehicle
« Reply #3 on: 14 Nov 2005, 22:48:45 »
let me clarify a bit.  what i want to happen is this...

the player named player(named player) will start as cargo in a patrol boat(named boat).  the boat is to drop off the player at the shore, then move back out to sea.

i tried putting "player moveincargo boat" in the player's init. field but it didnt work.  i then tried putting it in the boat's initi. field.  I've also tried putting it in both unit's initi. field.

still cant figure out what i'm doing wrong.  maybe it just doesn't work with boats?


CRIMSON REIGN COMMING..... eventually :/

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:player starts as cargo in a non-group vehicle
« Reply #4 on: 14 Nov 2005, 23:08:07 »
Might it be that boat is a type of vehicle and by calling the boat boat you are confusing the game?

Call the boat:  Boat1
in the init field of the player put:

this moveInCargo Boat1

As you mention Boat1 will need a Transport Unload waypoint.  The player unit will need a Get Out waypoint and these two waypoints need to be synchronised.  The boat will then need another waypoint out to sea so that it moves off from the shore.
« Last Edit: 14 Nov 2005, 23:09:37 by THobson »

Offline ONoSixIsDown

  • Members
  • *
Re:player starts as cargo in a non-group vehicle
« Reply #5 on: 14 Nov 2005, 23:19:53 »
thats excatly what was wrong, Thanks THobson.

and BTW, i managed to get this to work with out using a get out way point.
CRIMSON REIGN COMMING..... eventually :/