Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Remove action?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
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??
Logged
macguba
Former Staff
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.
Logged
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
Logged
_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...
Logged
macguba
Former Staff
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.
Logged
Plenty of
reviewed ArmA missions
for you to play
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Remove action?
«
Reply #5 on:
23 Mar 2003, 14:20:39 »
try
ap removeaction 1
ap removeaction 2
...
Logged
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_
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Remove action?
Top of page