Lawlzee-SpawnPrefab icon

SpawnPrefab

Adds a command to spawn a prefab. `spawn_prefab <prefab_key> <pos_x> <pos_y> <pos_z> <rotation_x> <rotation_y> <rotation_z>`

Last updated 3 months ago
Total downloads 72
Total rating 0 
Categories Tools
Dependency string Lawlzee-SpawnPrefab-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
bbepis-BepInExPack-5.4.2108 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2108

README

Spawn Prefab

Adds a command to spawn a prefab.

Syntax:

spawn_prefab <prefab_key> <pos_x> <pos_y> <pos_z> <rotation_x> <rotation_y> <rotation_z>

Use the ~ prefix before a position value to make it relative to the player's position. Similarly, use the ~ prefix before a rotation value to make it relative to the prefab's base rotation.

For a list of available prefabs, refer to this link. You may want to filter by UnityEngine.GameObject to see only the spawnable objects.