Spawn Prefab Action

From Pummel Party Mod Documentation
Revision as of 03:39, 10 November 2022 by RBDev (talk | contribs) (Initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Although multiple prefabs can be provided, only the first in the list will be spawned (May change in the future). The prefab will be spawned at the position of all targets provided if using the Advanced Target option. A prefab will also be spawned at the position of the gameobject if This Object is enabled as a Target.

The prefab(s) can also be spawned using a position or rotation offset from the target. This offset is applied to all prefabs spawned using the action. If you want different offsets per target, use multiple Spawn Prefab Actions actions.