# HG changeset patch # User Wuzzy # Date 1558046726 -3600 # Node ID 5e5b098885ca0ba4e70679b096c46ff6ca90eb96 # Parent 70ad7be372f29f0fee75e8d9ef218236ecb55913 ThemeCfg: More anchor explanation diff -r 70ad7be372f2 -r 5e5b098885ca ThemeCfg.wiki --- a/ThemeCfg.wiki Thu May 16 23:17:44 2019 +0100 +++ b/ThemeCfg.wiki Thu May 16 23:45:26 2019 +0100 @@ -79,9 +79,11 @@ * You must repeat the last 3 arguments if `overlay_count` is greater than 1; each overlay needs its own offset and file name. === `anchors` === -An anchor does not create land itself, but instead is a setting that alters the positioning of an object. Each object can have multiple anchors. +An anchor does not create land itself, but instead is a setting that alters the positioning of an object. Each object can have multiple anchors. An anchor is a rectangle that is similar to a `buriedrect`, but it can be outside of the object boundaries. Anchors are useful for objects that spawn on the water. -This key needs an object file name, an anchor count and rectangles for each anchor. This key needs to be defined after the object definition. +If an object has multiple anchors, at least one of the anchors has to “match” in order for the object to be placed. + +This key needs an object file name, an anchor count and a rectangle for each anchor. This key needs to be defined after the object definition. Values: object_filename, anchor_count, anchor_rect1, anchor_rect2, ...