Map unit: Difference between revisions
→Link system
imported>Leoetlino |
imported>Leoetlino |
||
Line 111: | Line 111: | ||
|- | |- | ||
|} | |} | ||
=== Link tags === | |||
LinkTagAnd, LinkTagOr, LinkTagNAnd, LinkTagNOr, LinkTagXOr, LinkTagCount, LinkTagPulse, LinkTagNone are small objects that are used to implement a basic logic system in map units. | |||
AND, OR, NAND, NOR, XOR LinkTags are boolean operators. They can be used to conditionally set or clear GameData flags, or conditionally spawn objects, trigger other objects, etc. | |||
Count LinkTags are used to increment a GameData flag every time the link tag itself is signalled. | |||
Pulse LinkTags continuously emit a basic signal with a configurable signal duration (PulseLength). | |||
None LinkTags have no effect. They are only used to put different map unit objects into the same placement generation group. | |||
Internally, they are all implemented by the same actor class (<code>LinkTag</code>) since they share most of their core functionality, with only small differences in effects. | |||
Parameters are documented in [[AIDef:Action/LinkTagBaseAction#MapUnitInstParams]]. | |||
== File formats == | == File formats == |