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 449 times)
0 Members and 1 Guest 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
Logged
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...
Logged
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
Logged
max_killer_payne
Guest
Re:Remove action
«
Reply #3 on:
28 Jun 2003, 09:42:16 »
Cheers both of you
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