Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.57 KB | None | 0 0
  1. // You could place these scripts anywhere in your init.sqf and replace "player" with a world position or the variable name of another object the number 50/200 is the area which will be effected
  2. // Copay and paste these examples in your debug console to see what they do in the editor.
  3.  
  4. // Remove just trees and bushes:
  5. {
  6.     _x hideObjectGlobal true;
  7. } foreach  (nearestTerrainObjects [player,["tree","bush"],50]);
  8.  
  9. // Remove everything:
  10. {
  11.     _x hideObjectGlobal true;
  12. } forEach   (
  13.                 (nearestTerrainObjects [player,[],200]) +
  14.                 (nearestObjects [player, [], 200])
  15.             );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement