Home   Help Search Login Register  

Author Topic: action & AI question  (Read 614 times)

0 Members and 2 Guests are viewing this topic.

vanGoGH

  • Guest
action & AI question
« on: 23 Jul 2003, 20:43:22 »
Im creating a mission intro where theres a plane flying over seas. I put a civilian plane in the mission editor, but I dont know how to add people in it as initialize. It has only a pilot but I want it initialized with a person next to him. How would I do this? is there a scripting command for it?

Also, how would I initialize the plane with lights on? I tried
this action["LIGHTSON"]; exec ....
in the initialize field but it doesnt work. How would I do this?

thanks in advance! :-\

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:action & AI question
« Reply #1 on: 23 Jul 2003, 20:53:18 »
Create  your passenger.    In his init field write

this moveInCargo plane1

(assuming you have named your plane plane1)  

There are also moveindriver, moveingunner and moveincommander commands.

this setbehaviour "safe"

might get the lights on.
Plenty of reviewed ArmA missions for you to play

max_killer_payne

  • Guest
Re:action & AI question
« Reply #2 on: 23 Jul 2003, 21:39:49 »
Read the sticky topic at the top of this page  ;)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:action & AI question
« Reply #3 on: 24 Jul 2003, 00:02:21 »
Or u could name the plane. like plane1. this will kill the pilot/driver.

plane1d setdammage 1

U see, u name the plane and put a d for driver afterwards. U can also use g for gunner and c for commander.