DayZ init_random example 2

A second example focused on randomized attachments and how init_random changes what child entities can spawn with.

Example flags init_random random attachments

<event name="VehicleHatchback_02"> <nominal>10</nominal> <min>5</min> <max>10</max> <lifetime>1800</lifetime> <saferadius300</saferadius> <distanceradius100</distanceradius> <cleanupradius100</cleanupradius> <flags deletable="1" init_random="0" remove_damaged="1"/> <position>fixed</position> <limit>mixed</limit> <children> <child lootmax="0" lootmin="0" max="1" min="1" type="Hatchback_02"/> </children> </event>
  • Example flags init_random Attachments Random Behavior with init_random='1' - Attachments: All child weapons spawn with random attachments from cfgspawnabletypes.xml

Site search

Find pages, tools, and guides

Copyright