Page MenuHomeFeedback Tracker

Feature request : command enableEnvironmentPartial
Closed, ResolvedPublic

Description

Hello,
I would like to know if it would be possible to implement a new command, for example "enableEnvironmentPartial".
Why :
Because I would like to only disable Rabbits and Snakes on my mission (they are opening doors and it would save few client FPS) and not Turtles and Fishes.
Which is currently not possible with enableEnvironment command.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Feature Request
Additional Information

A workaround consist in this, but it's clearly not optimized :

[] spawn {
	while {true} do {
		{
			if (!(isNull agent _x) && ((agent _x isKindOf "Snake_random_F") || (agent _x isKindOf "Rabbit_F")) ) then { 
				deleteVehicle agent _x; 
			};
		} forEach agents;
		sleep 15;
	};
};

Event Timeline

reekoj created this task.May 26 2016, 10:56 AM
R3vo added a subscriber: R3vo.May 26 2016, 11:02 AM

I agree.

Command should have following parameters.

  1. Enable Sound /true/false
  2. Enable land animals /true/false
  3. Enable sea animals /true/false

Additionally, we would also need a getter command.

razazel claimed this task.May 27 2016, 1:15 PM
razazel changed the task status from New to Acknowledged.
razazel changed Category from Scripting to Feature Request.
R3vo added a comment.Dec 7 2020, 4:05 PM
This comment was removed by R3vo.
LouMontana closed this task as Resolved.Dec 7 2020, 4:06 PM