OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ding on 24 Jun 2005, 05:37:35

Title: removeaction command
Post by: Ding on 24 Jun 2005, 05:37:35
how do i properly use this command because every time i try it dosnt seem to work, what i do is Player removeaction 0 in the deactivation feild of a trigger but when the player elaves the trigger it dosnt go away, is there a way to define the name of an added action?
Title: Re:removeaction command
Post by: CopyrightPhilly on 24 Jun 2005, 07:47:41
ok...

when u add the action

actionname = player addaction ["hello","hello.sqs"]

then to remove it

player removeaction actionname
Title: Re:removeaction command
Post by: Ding on 24 Jun 2005, 11:19:38
thanks