OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jog on 27 Feb 2005, 11:13:08

Title: How to make NPC's use their action menu ? :/
Post by: Jog on 27 Feb 2005, 11:13:08
so i need to make NPC soldiers use their action menu, but i don't know how :( there is one addon where i have an opntion  to put on gas mask,  how can i make so that soldiers from other groups put on those gas masks ?

or for exapmle BAS choppers have option to close or open side dors, how can i make NPC soldiers to do it ?
Title: Re:How to make NPC's use their action menu ? :/
Post by: scooter24 on 27 Feb 2005, 13:41:28
Hey Jog!
Take a look at this thread: http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9376 (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9376). It'll answer your question!
Scooter24.
Title: Re:How to make NPC's use their action menu ? :/
Post by: macguba on 27 Feb 2005, 13:45:02
The action menu is something that is fundamentally associated with human players.    AI loons work off commands that the mission designer gives them.

What is NPC?   Is this a kind of addon?   If so, and there is a gas mask effect that appears in your action menu, then there is probably a command that makes AI loons put their gas masks on.     If it's a decent addon the readme will tell you how.
Title: Re:How to make NPC's use their action menu ? :/
Post by: scooter24 on 27 Feb 2005, 13:53:20
Hey macguba!
'NPC' stand for Non-Playable Character. In other words, AI.
Scooter24.

ED:-
Beat you to it by 27 seconds Planck!  :D
Title: Re:How to make NPC's use their action menu ? :/
Post by: Planck on 27 Feb 2005, 13:53:47
I think in this case NPC means 'Non Player Character'.

In other words AI.   ;D


Planck