Search the Community
Showing results for tags 'prefabs'.
Found 2 results
-
Prefab groups not showing unit models in world editor
shrike998 posted a topic in Arma Reforger - Workbench
Hi all, Im very new to the workbench and having a persistant issue when trying to follow some tutorials on youtube. I get to the parts where they go into the main arma reforger files, prefabs, groups, OPFOR, and then drop and drag a group onto the map - when they do it on youtube the units apear in the world in the editor window, but when I do it all I get is the gizmo.. Im probably missing a simple view setting or something but its hard to see where the units are being placed with out seeing them in the world. When I play the game (from the editor) the units spawn in. any sugestions or tips would be much apprecitated! Thanks! Shrike -
Spawning a Prefab with child entities
SovietKitKat posted a topic in Arma Reforger - Configs & Scripting
Hello! I've been struggling with getting spawning prefabs with child entities working in my mod. Even with a Hierarchy component, it only appears to spawn the root entity. Using IEntity's GetChildren method on the instanced prefab doesn't return the first child as I would expect. The method I'm currently using to spawn the prefab is to load the resource using Resource.Load, and then to instantiate the prefab with g_Game.SpawnEntityPrefab It doesn't need to use Replication, as the mod is single-player only. Has anyone else struggled with this and come up with a solution? Not being able to access prefab children is a major blocker for progressing on my mod. Here's some screenshots showing my current setup.