Home   Help Search Login Register  

Author Topic: CoC Divers  (Read 1120 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
CoC Divers
« on: 30 Jul 2005, 02:08:48 »
I'm using CoC divers & I discovered that when I try to load units into a truck during a cutscene using moveincargo command, those units that are in the water are not placed in truck. When units are on land or in PBR they load up just fine but I don't know how to get the swimmers out of the vehicle they use & then moveincargo. I tried teleporting them to dry land first then into truck but they wouldn't go in truck after teleporting to marker.

I'm hoping someone here has experience with this addon. Any ideas are appreciated.

Thanks.


Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:CoC Divers
« Reply #1 on: 30 Jul 2005, 02:28:10 »
You might try unassigning the COC swim vehicle first.

Code: [Select]
unassignvehicle unitname
Blip :joystick:
...NIGHT WALKER....

Dane

  • Guest
Re:CoC Divers
« Reply #2 on: 30 Jul 2005, 02:31:12 »
..and maybe unit action ["eject", vehicle unit] if unassign doesn't work.

pazuzu

  • Guest
Re:CoC Divers
« Reply #3 on: 30 Jul 2005, 02:37:41 »
Ok I'll try that.

I don't need the name of vehicle?

Thanks for the help.

Dane

  • Guest
Re:CoC Divers
« Reply #4 on: 30 Jul 2005, 02:39:30 »
Quote
I don't need the name of vehicle?

Nop.

pazuzu

  • Guest
Re:CoC Divers
« Reply #5 on: 30 Jul 2005, 02:47:36 »
Hmm, that doesn't work and I tried both together...

Thanks anyway.

Dane

  • Guest
Re:CoC Divers
« Reply #6 on: 30 Jul 2005, 03:06:29 »
Yes it does, i just tried this and it worked perfectly.

unassignVehicle ap; ap action ["eject", vehicle ap]; ap moveInCargo t1

in a trigger.

pazuzu

  • Guest
Re:CoC Divers
« Reply #7 on: 30 Jul 2005, 04:29:09 »
OK I'll try it again.

I'm using a script to include blackout and titletext and the use of these commands to load team into truck...

Thanks again.

pazuzu

  • Guest
Re:CoC Divers
« Reply #8 on: 30 Jul 2005, 05:04:15 »
I figured out what I was doing wrong. I had a time delay between: ap action ["eject", vehicle ap] and: ap moveInCargo t1

After taking it out it worked fine.

You've been a great help, thanks again.

Dane

  • Guest
Re:CoC Divers
« Reply #9 on: 30 Jul 2005, 09:11:43 »
No probby ;)

Quote
I figured out what I was doing wrong. I had a time delay between: ap action ["eject", vehicle ap] and: ap moveInCargo t1

Well, as long as the diver is in the water the coc script puts him back in the swim vehicle, that's why it dosn't work with delay.
But if you want the delay i think it can be done with some deleteVehicle nearestObject typeOf commands right after the unit ejects, but i'm not so familiar with those commands.

Offline Blanco

  • Former Staff
  • ****
Re:CoC Divers
« Reply #10 on: 30 Jul 2005, 09:31:05 »
I've used :

Code: [Select]
_diver removeweapon "COC_lar7"
_diver setpos getmarkerpos "temp"

To moveincargo him again...

Code: [Select]
_diver moveincargo car1
_diver addweapon "coc_lar7"

« Last Edit: 30 Jul 2005, 09:31:27 by Blanco »
Search or search or search before you ask.

Dane

  • Guest
Re:CoC Divers
« Reply #11 on: 30 Jul 2005, 17:05:01 »
Yep! That will probably work also ::) :-X

pazuzu

  • Guest
Re:CoC Divers
« Reply #12 on: 30 Jul 2005, 18:47:07 »
Well I got it to work just fine using your way Dane.

I think I'll test the other ways too just to see what happens.

I asked this question at the CoC forum but with no reply so I appreciate all the help.

Thank you.