krutotokyo.blogg.se

Hearts of iron flags
Hearts of iron flags











hearts of iron flags

The reason being is that the game engine may re-use old brigade names when build new divisions. Note: If using standard HOI III brigade names, then the fire only once code should be used for all events. Remove_brigade = "Reitendes-Artillerie-Rgt. In the following example the flag GER_trigger_event2 is set as a country flag for Germany by the option 1 code and only tag GER will have this flag associated with it. However, the dependent event will ignore any changes that may have happened since that active flag was set. Some of the those elements may no longer be valid when the dependent event fires, because the game is in a state of constant change. All the elements of the trigger are embedded in the active flag at the time the event fires. 9 Other creative uses of flags in event chainsĮvents chains work because the active flag transfers information from one event to another.2.2 Linking events with the country event code.This method of flag use is more of a 'clear as we go' system and it allows for complex event chains. The use of a cleared active flag achieves the same goals as the vanilla use of a flags, but the game engine does not have to maintain the flag for the duration of the game. The active flag can then be cleared and used as a passive flag in preventing that event from firing a subsequent time. As a consequence flags are 'created as we go' and never cleared, thus the list of flags that needs to be maintained by the game engine grows over time.Ī better use for flags is in an active role where they are created by one event and used to trigger another event. The main problem with this is that the passive flag must be created and then maintained by the game engine for the rest of the game. The flag is passive because it is not being used to trigger another event, but prevent its own event from firing. An alternative to this is to use the code ' fire_only_once = yes', thus eliminating the need to create a flag and test for its existence in preventing the same event from firing repeatedly. In vanilla HOI III flags are for the most part used in a passive role to prevent events from firing repeatedly. It is this active flag that links the dependent event to the independent event. The independent event will never have an 'active' flag in the trigger and the dependent events will always have an active flag. The independent event will always fire in a game however, the dependent events may not fire as their firing depends on the choice made in an earlier event within the chain. An event chain will always start with an independent event and all other events that follow will be dependent events. Event chains are a series of events linked by shared circumstances.













Hearts of iron flags