Home   Help Search Login Register  

Author Topic: Remove action?  (Read 670 times)

0 Members and 1 Guest are viewing this topic.

_DaRkMaN_

  • Guest
Remove action?
« on: 22 Mar 2003, 10:02:14 »
Is there a way to remove actions from the action list??

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Remove action?
« Reply #1 on: 22 Mar 2003, 23:46:00 »
If you mean an action that you have added, the answer is yes.    Can't remember how, but you need to know the action ID.

If you are talking about official BIS hardcoded actions .... dunno.    Probably not.    Which action is causing the problem?    We might be able to figure out a workaround.
Plenty of reviewed ArmA missions for you to play

evil

  • Guest
Re:Remove action?
« Reply #2 on: 23 Mar 2003, 01:07:03 »
Add an action like this:
important=aP addaction ["what you see","the script.sqs"]

Now, to remove that action, you would type this:
aP removeaction important

aP is the name of the player.
important is the action id

_DaRkMaN_

  • Guest
Re:Remove action?
« Reply #3 on: 23 Mar 2003, 11:47:32 »
thanks for the help but the problem is that i need to remove the "weapon in hand" action.
I dont want the player to be able to take the weapon in hand.
Maybe there is a way to do a script or somthing...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Remove action?
« Reply #4 on: 23 Mar 2003, 13:26:07 »
As a workaround you could just run a looping script putting the weapon on his back .... he'll soon get the message.

Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Remove action?
« Reply #5 on: 23 Mar 2003, 14:20:39 »
try
ap removeaction 1
ap removeaction 2
...
Not all is lost.

_DaRkMaN_

  • Guest
Re:Remove action?
« Reply #6 on: 23 Mar 2003, 14:38:25 »
thanks will try it now!

Edit
ap removeaction 1 and ap removeaction 2 didnt work  :'(
« Last Edit: 23 Mar 2003, 14:47:54 by _DaRkMaN_ »