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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...