VN_ms_fnc_aiSetSkill

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29, Spoffy
Argument(s): global
Effect(s): global

Description

Configure unit skills. These are tuned for infantry jungle-fighting, and may not work as well on vehicle crews.

Syntax

Syntax
[unit] call VN_ms_fnc_aiSetSkill
Parameters
unit: Object - the unit to which to set skill
Return value
Boolean - function's success

Examples

Example 1
[bob] call VN_ms_fnc_aiSetSkill;
Example 2
private _pedestrians = allUnits select { isNull objectParent _x }; { [_x] call VN_ms_fnc_aiSetSkill; } forEach _pedestrians;