Amount of first resource doesn't get modified with triggers

:arrow_forward: GAME INFORMATION

:point_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: ######
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

:point_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
Using triggers to modify the first amount storage of wolves, which is food, won’t work. Neither modify attribute or XS

I also tested it with the dead wolf. Notice that the first storage of the dead wolf is decaying time

:arrow_forward: FREQUENCY OF ISSUE

  • 100% of the time / matches I play (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

:point_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:
In scenario editor
1.a) Add a trigger effect: modify attribute - Amount of first storage, unit wolf, player Gaia, Set, quantity 10000
1.b) Add a trigger effect XS script
void main(){ xsEffectAmount(cGaiaSetAttribute, 126,cAmountFirstStorage, 50, cGaia);}
2. Test scenario

:arrow_forward: EXPECTED RESULT

Wold food gets changed

:arrow_forward: IMAGE

With Modify Attribute

With Script call

Notice that this is Wolf first storage

and this is Dead wolf First storage

Again, I DID test modifying attribute and Script call for Dead wolf, and nothing happened.

What happens when you spawn a new wolf via triggers?

This was it. Modify attribute then create an animal. Thanks!

@SamePorpoise303
This may be relevant to you

1 Like

So if you create an herdable via trigger you can modify its food storage to infinite? (That was my issue)

But even you modify the amount of first resources of the wolf,the villager cannot gather food from wolf.The result is that the hunter does not have the hunting task for the wolf,it is the most important,so this modify is useless.

I just tried and villagers do gather from wolves.

Try it! Modify attribute first and then create the herdables and tell us how it goes

1 Like

Ok I’ll try and report here!

Edit: I don’t know why you need to create them through triggers but yes that way it works!

1 Like