mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed sphere size and added return based on usage in dev_trackHitBox
This commit is contained in:
parent
f57ac94325
commit
8a2f40c360
@ -8,7 +8,7 @@
|
|||||||
* 1: Color of sphere <STRING> (default: "blue")
|
* 1: Color of sphere <STRING> (default: "blue")
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* The created sphere object <OBJECT>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [getPosASL player, "red"] call ace_frag_fnc_dev_sphereDraw;
|
* [getPosASL player, "red"] call ace_frag_fnc_dev_sphereDraw;
|
||||||
@ -34,6 +34,7 @@ if (_color select [0,1] != "(") then {
|
|||||||
};
|
};
|
||||||
private _colorString = "#(argb,8,8,3)color" + _color;
|
private _colorString = "#(argb,8,8,3)color" + _color;
|
||||||
|
|
||||||
private _sphere = createVehicle ["Sign_Sphere25cm_F", ASLtoATL _posASL, [], 0, "CAN_COLLIDE"];
|
private _sphere = createVehicle ["Sign_Sphere10cm_F", ASLtoATL _posASL, [], 0, "CAN_COLLIDE"];
|
||||||
_sphere setObjectTextureGlobal [0, _colorString];
|
_sphere setObjectTextureGlobal [0, _colorString];
|
||||||
GVAR(dev_eventSpheres) pushBack _sphere;
|
GVAR(dev_eventSpheres) pushBack _sphere;
|
||||||
|
_sphere
|
||||||
|
Loading…
Reference in New Issue
Block a user