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 TypeDescription
SoldierReference to the spawned human

Parameters

ParameterTypeDescription
1vec3World position where the soldier should spawn
2stringID 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")

Back to Scripting API