Home   Help Search Login Register  

Author Topic: Removing actions  (Read 1913 times)

0 Members and 1 Guest are viewing this topic.

srk

  • Guest
Removing actions
« on: 26 Jun 2006, 01:54:49 »
I wanted to make a mission using this 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?

marcus3

  • Guest
Re: Removing actions
« Reply #1 on: 26 Jun 2006, 04:28:08 »
Look in the config for the
bla bla = addaction 
then do

car removeaction bla bla

 :-*

srk

  • Guest
Re: Removing actions
« Reply #2 on: 26 Jun 2006, 10:11:01 »
Doesn't work, the actions are still there.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Removing actions
« Reply #3 on: 26 Jun 2006, 22:13:27 »
You can make a script run at the start of the mission:
Code: [Select]
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..
« Last Edit: 26 Jun 2006, 22:20:53 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

srk

  • Guest
Re: Removing actions
« Reply #4 on: 27 Jun 2006, 18:15:59 »
You can make a script run at the start of the mission:
Code: [Select]
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)

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Removing actions
« Reply #5 on: 27 Jun 2006, 22:01:42 »
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...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.