Home   Help Search Login Register  

Author Topic: Action menu  (Read 658 times)

0 Members and 1 Guest are viewing this topic.

Siber Fox

  • Guest
Action menu
« on: 07 Dec 2002, 10:12:39 »
How do you make an AI use a action from the action menu?

(EX: a UAZ is driving to an outpost. Theres a useable gate there. how do I get the AI next to the gate to open it when the USZ hits a WP outside of it?)

Offline Sentinel

  • Contributing Member
  • **
  • World is tough and I'm tougher!!
Re:Action menu
« Reply #1 on: 07 Dec 2002, 18:07:25 »
So you mean that a guard would walk to "a button" and then press it and gate opens?

Siber Fox

  • Guest
Re:Action menu
« Reply #2 on: 07 Dec 2002, 19:42:39 »
No, there is a addon called KBK(or something like that) Gate. Its a gate when you walk over to it, "Open gate" comes up on the action menu. I want to know how the AI can open that gate. Hope this clears up the question :)

Offline Sentinel

  • Contributing Member
  • **
  • World is tough and I'm tougher!!
Re:Action menu
« Reply #3 on: 07 Dec 2002, 20:06:40 »
Ok, I see. Didn't know about that addon. Well... Action command might help this. I don't know exactly how it should be made but try this or somthing close this.

UnitName action ["actionName"]
actionName is probably near the text in action menu. If you have Reference Manual (should be found in OFPEC) you can check for more details.

I'm really not sure if this works but hope for the best :-\.

Siber Fox

  • Guest
Re:Action menu
« Reply #4 on: 07 Dec 2002, 20:20:23 »
oh, easy enough... now I feel quite dumb :-[  ;D

~^Siber Fox, over and out.