mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Ignore Case
This commit is contained in:
parent
00f26144ec
commit
dce344c85f
@ -1,31 +1,29 @@
|
||||
/*
|
||||
Name: ACE_Respawn_fnc_teleportToRallypoint
|
||||
|
||||
Author(s):
|
||||
commy2
|
||||
|
||||
Description:
|
||||
teleports a unit to a rallypoint
|
||||
|
||||
Parameters:
|
||||
0: OBJECT - unit
|
||||
1: OBJECT - side
|
||||
2: BOOLEAN - teleport to base
|
||||
|
||||
Returns:
|
||||
VOID
|
||||
*/
|
||||
|
||||
* Author: commy2
|
||||
* teleports a unit to a rallypoint
|
||||
*
|
||||
* Arguments:
|
||||
* 0: unit <OBJECT>
|
||||
* 1: side? <OBJECT>
|
||||
* 2: teleport to base <BOOLEAN>
|
||||
*
|
||||
* Return Value:
|
||||
* Nothing
|
||||
*
|
||||
* Example:
|
||||
* [,,] call ACE_Respawn_fnc_teleportToRallypoint;
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_unit", "_side", "_rallypoint", "_toBase"];
|
||||
PARAMS_3(_unit,_side,_rallypoint);
|
||||
|
||||
_unit = _this select 0;
|
||||
_side = _this select 1;
|
||||
_rallypoint = _this select 2;
|
||||
private ["_toBase"];
|
||||
|
||||
// rallypoint names are defined in CfgVehicles.hpp
|
||||
|
||||
//IGNORE_PRIVATE_WARNING("_Base")
|
||||
_toBase = _rallypoint find "_Base" != -1;
|
||||
|
||||
_rallypoint = missionNamespace getVariable [_rallypoint, objNull],
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
PARMAS_1(_originalPlayerUnit);
|
||||
PARAMS_1(_originalPlayerUnit);
|
||||
|
||||
[_originalPlayerUnit] joinSilent GVAR(OriginalGroup);
|
||||
|
||||
|
@ -73,8 +73,8 @@ def check_privates(filepath):
|
||||
|
||||
missing = []
|
||||
for s in priv_use:
|
||||
if s not in priv_declared:
|
||||
if s not in missing:
|
||||
if s.lower() not in map(str.lower,priv_declared):
|
||||
if s.lower() not in map(str.lower,missing):
|
||||
missing.append(s)
|
||||
|
||||
if len(missing) > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user