Call of Duty Script Documentation

# dospawn( <targetname> )

## Module

    Spawn

## Summary

    Spawns an actor from an actor spawner, if possible (the spawner won't spawn if the player is looking at the spawn point, or if spawning would cause a telefrag)

## Call this function on

    An actor spawner

## Example

     spawned = driver dospawn(name);

## Minimum Number of arguments: 0

## Number of optional arguments: 1

    1 : <targetname> sets the targetname of the spawned entity

Return to Function List