spawnHuman 77
Spawn a new human without specific loadout or rank. Faction Ids can be acquired in the Script Settings menu -> Id tables section
Return value
Return Type | Description |
---|---|
Soldier | Reference to the spawned human |
Parameters
Parameter | Type | Description |
---|---|---|
1 | vec3 | World position where the soldier should spawn |
2 | string | ID of the faction that the soldier belong to |
Examples
Example 42
-- spawn a generic human with United States faction at 1,4,6
spawnHuman(vec3(1,4,6), "UnitedStates_axis")