Spawn Prefab Action

From Pummel Party Mod Documentation
Jump to navigation Jump to search
A Spawn Prefab action that will randomly choose between two prefabs to spawn at three transform positions.

An action to spawn a prefab at a gameobject's position and rotation.

Multiple prefabs can be provided to this Action. The prefab spawned when the action is invoked is chosen randomly. The prefab will be spawned at the position of all targets provided if using the Advanced Target option.

A prefab can also/alternatively be spawned at a provided position and rotation. This position/rotation is in world space. If you want to spawn multiple prefabs at different world positions, use multiple Spawn Prefab Actions, or use empty gameobjects as spawn points and set them as targets.