Home   Help Search Login Register  

Author Topic: How do I script an action???  (Read 434 times)

0 Members and 1 Guest are viewing this topic.

Gumby

  • Guest
How do I script an action???
« on: 02 May 2003, 19:02:02 »

Simple!!

I dont know how to use an action command???

I hate it, have been trying to make use of the action command...      

Does the command not work og is it just me???

According to LustypoohÂ's manual the script is---

aP action ["action", "target", "param1", "param2", "param3"]


No matter what I do, it does not seem to work...

Does anybody have an example that works, or please explain how it works??

For instance how to make a guy drop his weapon using  :   Guy action ["dropweapon", guy]

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How do I script an action???
« Reply #1 on: 02 May 2003, 19:16:24 »
Actions can be tricky - the syntax for some remains unknown.  

Assuming you are sure that the action dropweapon exists, search the FAQ and the forums to see if somebody has discovered the syntax.   Your question is here so maybe somebody who knows will see it.  

Could it be drop weapon rather than dropweapon?   And I would have thought that the target would be the weapon, not the unit.   You certainly have to specify which weapon somewhere, given that a loon can carry up to five of them.
Plenty of reviewed ArmA missions for you to play

Gumby

  • Guest
Re:How do I script an action???
« Reply #2 on: 02 May 2003, 19:22:08 »
Thx.

According to the ref list from Lystupooh , the action exists.

« Last Edit: 02 May 2003, 19:51:11 by Gumby »