Failed to call squirrel function "eventroomedit"

what is this and how does one fix it? i made a mod and this is what error i get when attempting to move into the pregame lobby.

1 Like

In sandbox portal try turn on this option:
image

1 Like

solved part of my issue, now i have to figure out why my ammo boxes and a few other things keep despawning. got to love the stumbling around in the dark with little to no documentation.

Much Appreciated!

What do you mean? It sounds like that they’re inside gray zone area? IIRC some team engineering structures will be automatically destroyed outside the battle area.

I created a battle zone for team 1 and placed ammo boxes within them for ammo restock, set the teams ammo box to 1 and it causes it to despawn each time the map is loaded. The ammo boxes are within the battle area, but for some reason auto delete themselves no matter how many I place.

In short im making a zombie map and it’s left me with no way to restock ammo for a weapon.

Here also builder team. Maybe you didn’t it for team 1? If you still have old save then you can try to add this property. For that you can open scene file with any text editors. And find code that looks like something like it:

entity{
  _template:t="base_fortification_build+tutorial_ammunition_box_a+paid_ammo_box_ressuply+undestroyable_ri_extra"
  transform:m=[[0.968392, 0, 0.249433] [0, 1, -0] [-0.249433, 0, 0.968392] [-475.88, 48.1941, 2287.78]]
  useful_box__maxUseCount:i=999999
  team:i=2
}

And add something like builder_info__team:i=2 inside entity body (before }). So it should looks like:

entity{
  _template:t="base_fortification_build+tutorial_ammunition_box_a+paid_ammo_box_ressuply+undestroyable_ri_extra"
  transform:m=[[0.968392, 0, 0.249433] [0, 1, -0] [-0.249433, 0, 0.968392] [-475.88, 48.1941, 2287.78]]
  useful_box__maxUseCount:i=999999
  builder_info__team:i=2
  team:i=2
}

They also can despawn if you set so low useCount.