Also see num_of_extra_landed_titles.Ĭhecks if character is not a religious head or leader of a holy order.Ĭhecks if character is the head of a religion that uses crusades. In this example at least 3 of the 5 triggers need to return true:Ĭhecks if the title is not occupied, has no holdings being sieged, or contested in war and is not the holder's capital. Note that this compares bloodlines, not bloodline types.Ĭhecks if the scoped bloodline is active for the target character.Ĭhecks if the province borders a major riverĬhecks if the specified amount of the triggers contained inside are met. If target is a title, uses the current location of the titleholder.Ĭhecks if the scoped bloodline is the exact same bloodline as the target bloodline. Can use negative values to see if the current scope is worse.Ĭhecks if two characters are in the same location. (2.8) Checks if the scoped artifact can be gifted to the target character.Ĭhecks if the scoped artifact is of the given typeĬhecks if the given character owns at least one instance of the scoped artifact.Ĭhecks the difference in specified attribute with the target character. Does not permit the use of 2.8+ comparison operators!Ĭhecks if any religion has been generated within the specified distance. Also see is_powerful_vassal and relative_power. It compares the character's powerbase with that of all other direct vassals of the same liege. List of conditions Īvailable conditions depend on the current scope type.Ĭhecks adventurer flag of the title (title that gets destroyed whenever the holder gains another title or when the holder dies).Ĭhecks the age of a character, in whole years, rounded down.Ĭhecks if the character is a player or an AI.Ĭheck an AI behavior modifier (based on traits)Ĭan be used to fail a trigger clause, without needing to comment/delete the code ( always = no).Īlso used to test if (enough, using count) scopes do or do not exist, or if a suitable event target could be found and saved, using a random_ scope, evaluating to false if no matching scope is found.Ĭhecks if the character is among the nth most powerful vassals of the realm. religion_authority (, for example pikemen.The following triggers do not (fully) support these operators: Syntax for most conditions accepting numeric values was extended with numeric operators since version 2.8. At the root of events for pre-triggers used to improve performances.In scripted triggers, which can be used to group conditions into re-usable macro.In condition blocks ( trigger section of events, or equivalent: mult_modifier, can_use_title, potential, allow.Javascript:insertUnit(,0) insertUnit(,0) insertUnit(,0) insertUnit(,0) insertUnit(,0) insertUnit(,0) insertUnit(,0) insertUnit(,1) insertUnit( article has been verified for the current version (3.3) of the game.Ĭonditions or Triggers are used in scripting to restrict events and commands to correct targets. Pure troops insertion script: This one has been cleaned up, it holds no cookies etc. Optional/Recommended: make the bookmark a button on your browser for easy access (Hint: add at least 10 scouts to all your mass-recruit scripts) In most cases, fake scripts should include 1 scout, as you will be able to get quick & nasty scout reports against players who do not know how to use a white screen defense. They may need to be edited if you intend to use them on a world that has no archers or no paladin. Preface: These fake scripts are written for worlds with archers and paladin enabled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |