Home   Help Search Login Register  

Author Topic: Convoy Pickup Script  (Read 462 times)

0 Members and 1 Guest are viewing this topic.

Aceflyer

  • Guest
Convoy Pickup Script
« on: 23 Jan 2003, 00:56:35 »
Ok i need help with 2 things

-first off i need a script that allows me to call in a convoy to pick me up, but I need them to only come once i've called them

-second i made a different ai convoy that circles the town just for a scenic thing but the keep getting annihalated by the enemy, is there a way to make them invinicible?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Convoy Pickup Script
« Reply #1 on: 23 Jan 2003, 12:57:27 »
umm.. I don't know if you really need scripting for this..  :-\


I'd say you just make a radio trigger with on activation field holding this line
convoy=true

then you make waypoints for the leader unit of that convoy.
set the first waypoint right on top of that leader unit and put in the condition field this line
convoy

that'll make it so that the convoy won't get moving untill the condition "convoy" is met. and it won't be met untill the radio trigger is activated.


for the second thing you'd want to you'd just want to set them in captive mode.

type this line in the init field of every unit in that circling convoy and they won't get shot by the enemy
this setcaptive true


Sorry if I misunderstood what you mean, but that's how I would do it.  ;)
Not all is lost.