Actions

Triggering: Difference between revisions

From Populous Wiki

No edit summary
No edit summary
Line 1: Line 1:
[[Trigger]]s are map objects used to causes effects or reward players with [[spell]]s and [[building]]s. [[Stone Head]]s and other worship-able objects require them to function. [[Trigger]]s are also used for AI Scripts and to trigger other [[trigger]]s or/and for timers.
[[Trigger]]s are map objects used to causes effects or reward players with [[spell]]s and [[building]]s. [[Stone Head]]s and other worship-able objects require them to function (but triggers don't require stone heads to work). [[Trigger]]s are also used for AI Scripts and to trigger other [[trigger]]s or/and for timers.
Look for an in depth guide for triggers here :[https://www.popre.net/forum/triggers-and-practical-examples-t11341.html triggers and practical examples].
Look for an in depth guide for triggers here :[https://www.popre.net/forum/triggers-and-practical-examples-t11341.html triggers and practical examples].


== The Trigger ==
== The Trigger ==
The [[trigger]] is what causes [[Stone Head]]s to reward you [[spell]]s, or set off [[effect]]s ect.
 
[[Image:ww1.png|right|thumb|380px|a trigger, that should be placed under the stone head after editing its values ]]
The [[trigger]] is what causes [[Stone Head]]s to reward a tribe [[spell]]s, make a set of [[effect]]s to happen, etc. It can also be used by itself (without needing a stone head), meaning it gets triggered once units or shaman approach it (proximity, shaman proximity), or after some time has passed (timed).


Here is a simple example of a setup for a [[Stone Head]].  
Here is a simple example of a setup for a [[Stone Head]].  
Line 11: Line 13:
*'''Pray time''' - 450, the time that the followers have to pray for (in game turns).  
*'''Pray time''' - 450, the time that the followers have to pray for (in game turns).  
*'''Occurrences''' - 1, the number of times the [[Stone Head]] can be worshipped before it descends. E.g. getting the Volcano spell once and the [[Stone Head]] shrinking after.  
*'''Occurrences''' - 1, the number of times the [[Stone Head]] can be worshipped before it descends. E.g. getting the Volcano spell once and the [[Stone Head]] shrinking after.  
*'''Inactive time''' - how long the [[Stone Head]]'s red bar will go down for.  
*'''Inactive time''' - how long the [[Stone Head]]'s red bar will go down for. The greater the number, the slower the bar goes down.
*'''Trigger count''' - 6, the maximum / optimal number of [[follower]]s that are needed to pray at the [[Stone Head]]. E.g. if you put 1 you only need 1 [[follower].  
*'''Trigger count''' - 6, the maximum / optimal number of [[follower]]s that are needed to pray at the [[Stone Head]]. E.g. if you put 1 you only need 1 [[follower].  
*'''Start inactive''' - Your [[Stone Head]] will not appear until it is triggered to.  
*'''Start inactive''' - Your [[Stone Head]] will not appear until it is triggered to.  
Line 17: Line 19:
*'''Type''' - Shows what type of [[Trigger]] it is, So if it is ''Proximity'' it would be a regular [[Stone Head]]. But if you put something other then proximity it would be some other statue with different requirements.
*'''Type''' - Shows what type of [[Trigger]] it is, So if it is ''Proximity'' it would be a regular [[Stone Head]]. But if you put something other then proximity it would be some other statue with different requirements.


The shaman proximity has a different [[trigger]] type, instead of requiring any [[follower]] it can only be worshipped by [[Shaman]]s, it is also turned into a obelisk. It is recommended that you put 1 for the ''trigger count'' because there is normally only 1 [[shaman]] per tribe.
If a trigger is linked to effects or objects only (not discoveries), it becomes a [[Totem_Pole|totem pole]].
 
If a trigger is set to gargoyle, it becomes a [[Gargoyle]], meaning it can only be worshipped by [[Shaman]]s.
 
The shaman proximity has a different [[trigger]] type, instead of requiring any [[follower]] it can only be worshipped by [[Shaman]]s, it is also turned into a obelisk. It is recommended that 1 is used for the ''trigger count'' because there is normally only 1 [[shaman]] per tribe.


== Links ==
== Links ==
A link is a tool used to connect the [[effect]] or [[spell]] and the [[trigger]]. You can have up to 10 links per [[trigger]]. So it can set off a [[Volcano]] [[effect]] and reward the worshipper a [[Volcano]] [[spell]] after praying at it. E.g. in [[Face Off]], a [[Volcano]] erupts, filling the small holes down the strips of the entrance to the hill, and filling the hill suggesting that it was supposed to happen. The links allows the trigger to take effect.
 
[[Image:ww2.png|right|thumb|380px|the trigger is linked to a discovery ]]
A link is a tool used to connect the [[effect]] or [[spell]] and the [[trigger]]. There can only be up to 10 links per [[trigger]] (but one can link a trigger to another trigger, meaning there is no limit of only 10 links per trigger, but as many as the map maker wants... So it can set off a [[Volcano]] [[effect]] and reward the worshipper a [[Volcano]] [[spell]] after praying at it, just like it happens in [[Face Off]] - a [[Volcano]] erupts, filling the small holes down the strips of the entrance to the hill, and filling the hill, suggesting that it was supposed to happen. In this case, the trigger is probably '''linked''' to 2 things: a discovery that is set to volcano, and a volcano effect that happens as soon as the reward is granted. The links allows the trigger to take effect.
 
 
 
 
 
 


== Discovery ==
== Discovery ==
Discovery objects are used as rewards when the [[Stone Head]] is prayed (or another condition). As you see there are 2 rows (3 when first is selected spell or building) and on the 4th row is where you can write how much mana ''(only used when you want to trigger mana (when triggering mana make sure it's something like 10000 because spells require a lot of mana)).''


E.g. I have chosen a [[spell]], chosen [[level]] which means I can use it for the rest of this level. ''(NOTE: only select level or once because making it permanent causes it to turn into a Vault of Knowledge)'' and I've chosen [[Lightning]].
[[Image:ww3.png|right|thumb|380px|the discovery will reward the worshipper with a spell, building, or mana ]]
Discovery objects are used as rewards when the [[Stone Head]] is prayed (or another condition). As you see there are 2 rows (3 when first is selected spell or building) and on the 4th row is where you can write how much mana ''(only used when you want to reward mana (for guidance, a blast needs 90 000 mana, earthquake needs 500 000 mana, and volcano 100 000 mana)).''
 
However, discoveries don't need to be linked to a trigger, they can stand alone, meaning any follower can reach them and get the reward instantly, as you can see on the following image:
 
 
 
 
[[Image:wwdisc.png|center|thumb|450px|a standalone discovery]]

Revision as of 21:14, 13 June 2019

Triggers are map objects used to causes effects or reward players with spells and buildings. Stone Heads and other worship-able objects require them to function (but triggers don't require stone heads to work). Triggers are also used for AI Scripts and to trigger other triggers or/and for timers. Look for an in depth guide for triggers here :triggers and practical examples.

The Trigger

a trigger, that should be placed under the stone head after editing its values

The trigger is what causes Stone Heads to reward a tribe spells, make a set of effects to happen, etc. It can also be used by itself (without needing a stone head), meaning it gets triggered once units or shaman approach it (proximity, shaman proximity), or after some time has passed (timed).

Here is a simple example of a setup for a Stone Head.

The options included in the trigger are:

  • Cell radius - 1, the radius of the Stone Head where the followers pray.
  • Pray time - 450, the time that the followers have to pray for (in game turns).
  • Occurrences - 1, the number of times the Stone Head can be worshipped before it descends. E.g. getting the Volcano spell once and the Stone Head shrinking after.
  • Inactive time - how long the Stone Head's red bar will go down for. The greater the number, the slower the bar goes down.
  • Trigger count - 6, the maximum / optimal number of followers that are needed to pray at the Stone Head. E.g. if you put 1 you only need 1 [[follower].
  • Start inactive - Your Stone Head will not appear until it is triggered to.
  • Create player owned - The Stone Head belongs to you, even when the other player has prayed it the reward shall go to the tribe who owns the Stone Head.
  • Type - Shows what type of Trigger it is, So if it is Proximity it would be a regular Stone Head. But if you put something other then proximity it would be some other statue with different requirements.

If a trigger is linked to effects or objects only (not discoveries), it becomes a totem pole.

If a trigger is set to gargoyle, it becomes a Gargoyle, meaning it can only be worshipped by Shamans.

The shaman proximity has a different trigger type, instead of requiring any follower it can only be worshipped by Shamans, it is also turned into a obelisk. It is recommended that 1 is used for the trigger count because there is normally only 1 shaman per tribe.

Links

the trigger is linked to a discovery

A link is a tool used to connect the effect or spell and the trigger. There can only be up to 10 links per trigger (but one can link a trigger to another trigger, meaning there is no limit of only 10 links per trigger, but as many as the map maker wants... So it can set off a Volcano effect and reward the worshipper a Volcano spell after praying at it, just like it happens in Face Off - a Volcano erupts, filling the small holes down the strips of the entrance to the hill, and filling the hill, suggesting that it was supposed to happen. In this case, the trigger is probably linked to 2 things: a discovery that is set to volcano, and a volcano effect that happens as soon as the reward is granted. The links allows the trigger to take effect.




Discovery

the discovery will reward the worshipper with a spell, building, or mana

Discovery objects are used as rewards when the Stone Head is prayed (or another condition). As you see there are 2 rows (3 when first is selected spell or building) and on the 4th row is where you can write how much mana (only used when you want to reward mana (for guidance, a blast needs 90 000 mana, earthquake needs 500 000 mana, and volcano 100 000 mana)).

However, discoveries don't need to be linked to a trigger, they can stand alone, meaning any follower can reach them and get the reward instantly, as you can see on the following image:



a standalone discovery