Call of Duty Script Documentation
spawnturret(<classname>, <origin>, <weaponinfoname>)
ModuleSpawn
Summary
Spawns a new turret, eg MG42 or flak gun and returns a reference to it
Minimum Number of arguments: 3
1 : <classname> The classname of the entity (constant string)
2 : <origin> The position of the vehicle (vector)
3 : <weaponinfoname> The name of the weapon info to use for this turret (string)
Number of optional arguments: 0
Return to Function List