Closed Reidond closed 4 years ago
Respawn can already be disabled if set to -1. If I'm following your code right (correct me if I'm wrong), then this is just redundant.
Yeah but i forgot to mention that vehicle deletes after crew death, this PR removes that.
private _respawnTime = _entity getVariable ["SSS_respawnTime",-1];
if (_respawnTime < 0) exitWith {
deleteVehicle _entity;
};
👆 code deletes vehicle
The 'entity'/namespace is deleted. The actual vehicle can remain if the CBA setting is set. What are you trying to accomplish?
Shit i misread _entity
as _vehicle
😅. Gotta need another sleep!
So i wanted a functionality of disabling respawn when driver dies. For example when you have external respawning tools.