Search the Community
Showing results for tags 'entities'.
Found 3 results
-
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. -
Anybody else having issues placing MGs on tripods? I‘m trying to conceal my M2 position with sandbags/cammie netting, but if I place anything over it, it says “Gunner obstructed” when I try to get on it. Same issue when placing indoors or underneath low cover, despite nothing actually physically obstructing the weapon.
-
- xbox
- game master
-
(and 3 more)
Tagged with:
-
I feel like I'm missing something here but I can't drag any units from the Entities list on the left side of the 3den editor into the camera's view any more. When I try it the cursor seems to lose the unit when I try to drag it outside of the list. Tried it without mods after just noticing it (thought it might've been 3den Enhanced), but it's been a while since I've tried to do much editing so I'm not sure when it might've started. Have I changed a random setting somewhere or is this a bug?