Jump to content
  • 0

removing wrecks


dodget90

Question

on my server if i am looking at a wreck vehicle like a hummer or a ural or whatever i can scroll my wheel and see an option to remove the wreck , if i select that i will start deconstructing it , is there a way to remove this feature because some of my custom map content has vehicle wrecks placed and i dont want them removed , also not sure if related but whenever im in a building or facing one i get a scroll option to repair or salvage the building is there a way to stop this

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

i have it fixed now thanks to juandayz for helping me

now if u only wanna remove the scroll menu action to remove the action over the wreck.. the open your custom fn_selfactions.sqf

find that line:

if (!_restrict && (_isDestructable || _typeOfCursorTarget in DZE_isWreck || _typeOfCursorTarget in DZE_isWreckBuilding || _typeOfCursorTarget in DZE_isRemovable)) then {

and remove the condition: || _typeOfCursorTarget in DZE_isWreck

so its looks:

		if (!_restrict && (_isDestructable  || _typeOfCursorTarget in DZE_isWreckBuilding || _typeOfCursorTarget in DZE_isRemovable)) then {
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...