Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GeneratorBaseEntity.c File Reference

Go to the source code of this file.

Classes

class  SCR_GeneratorBaseEntityClass

Functions

SCR_GeneratorBaseEntityClass GeneratorBaseEntityClass Attribute (defvalue:"1", category:"Generation", desc:"Allow entities generation by this generator - useful in order to adjust shape and settings without generating unwanted entities\nKeep it ticked before saving!\nNote: does not prevent terrain shaping and other generator features")

Variables

ref Color m_Color

Function Documentation

◆ Attribute()

SCR_GeneratorBaseEntityClass GeneratorBaseEntityClass Attribute ( defvalue:"1" ,
category:"Generation" ,
desc:"Allow entities generation by this generator - useful in order to adjust shape and settings without generating unwanted entities\nKeep it ticked before saving!\nNote: does not prevent terrain shaping and other generator features"  )

SCR_GeneratorBaseEntity responsibilities:

  • trigger a warning if the generator is not the child of a shape
  • keep the generator at shape's {0,0,0}, at angles {0,0,0}, at scale 1
  • delete all child entities if no parent is set
  • set generator's and shape's "Editor Only" flag
  • provide methods to get offset shapes through SCR_ParallelShapeHelper usage (for parallel lines or smaller/bigger areas)
  • manage the m_Source variable
  • manage the m_ParentShapeSource variable
  • manage the m_iSourceLayerID variable
  • carry a debug shape manager reference

Definition at line 1 of file SCR_GeneratorBaseEntity.c.

Variable Documentation

◆ m_Color

ref Color m_Color

Definition at line 25 of file SCR_GeneratorBaseEntity.c.