Home   Help Search Login Register  

Author Topic: AI spawning???  (Read 408 times)

0 Members and 2 Guests are viewing this topic.

hes

  • Guest
AI spawning???
« on: 25 May 2003, 16:45:30 »
how can you make an addaction that lets you choose an AI unit(soldier) and then spawns in a spawning point where the AI you chose joins your group???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:AI spawning???
« Reply #1 on: 25 May 2003, 16:50:05 »
Addaction merely launches a script, so the addaction part is easy - its just as usual.

The tricky part is the script.    For what you're describing I think you may need dialogues - tutes in the Ed Depot.

Alternatively you could just have the script give you a few more addactions, each one allowing you a new loon of a particular type.   When you add the loon (created using createUnit) you also trigger a removeAction command to remove the actions.
« Last Edit: 25 May 2003, 16:52:42 by macguba »
Plenty of reviewed ArmA missions for you to play

hes

  • Guest
Re:AI spawning???
« Reply #2 on: 26 May 2003, 03:13:46 »
well thenks but my real problen is the spwning thing how do you make an AI spawn in a marker?