Home   Help Search Login Register  

Author Topic: Remove action  (Read 447 times)

0 Members and 3 Guests are viewing this topic.

max_killer_payne

  • Guest
Remove action
« on: 27 Jun 2003, 23:16:08 »
yeh this is pretty damn simple but its been buggin me and neva works, how do you remove an action from the command menu.

In the script I put player removeaction ["Blah","Blah.sqs"]

but it dont work

Knut Erik

  • Guest
Re:Remove action
« Reply #1 on: 27 Jun 2003, 23:26:09 »
Easy m8!

To add the action do this:
ActionID = Player addAction ["Blabla","bla.sqs"]

To remove it:
Player removeAction ActionID

The actionID can be whatEver you want it to be.
Take = PlayerAddaction...
Go = PlayerAddaction...
dfsdf= Player addaction...

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Remove action
« Reply #2 on: 27 Jun 2003, 23:26:52 »
nah mate you got it wrong when you add a action give it a ID like this

blah = player addaction ["blah","blah.sqs"]

then remove it like this

player removeaction blah

max_killer_payne

  • Guest
Re:Remove action
« Reply #3 on: 28 Jun 2003, 09:42:16 »
Cheers both of you