Skip to content

Civilian Agent

Broström.A | Evul edited this page Jan 15, 2024 · 3 revisions

The Civilian Agent function allow you transform a AI civilian unit in to a agent. What the function does it that it removes the unint and recreates it as a agent.

/* Arguments:
 * 0: Unit <OBJECT>
 */

[this] call cScripts_fnc_makeAgent;

See also

cScripts Development Wiki

Clone this wiki locally