OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: srk on 26 Jun 2006, 01:54:49
-
I wanted to make a mission using this (http://ofp.gamepark.cz/index.php?showthis=7753) addon, but I want to get rid off the nitro, etc. actions from the action lost. Is it possible to disable them somehow without modifying the config?
-
Look in the config for the
bla bla = addaction
then do
car removeaction bla bla
:-*
-
Doesn't work, the actions are still there.
-
You can make a script run at the start of the mission:
vehiclename removeAction gofaster
vehiclename removeAction gofast
Or put that in some trigger or something..
That removes the nitro actions only, if you want to remove the door actions you need to remove the class userActions from the config..
-
You can make a script run at the start of the mission:
vehiclename removeAction gofaster
vehiclename removeAction gofast
Or put that in some trigger or something..
That removes the nitro actions only, if you want to remove the door actions you need to remove the class userActions from the config..
Cool, it works, but where did you get those names? (gofast, gofaster)
-
From the scripts inside the addon...
For some completely weird reason the nitro actions are added to the vehicle via a script (executed from the init eventHandler) using addAction, instead of using userActions...
IIRC the scripts were called init.sqs and init1.sqs...