1) If u play the 'stand gold' animation (with triggers) and then order that peasant to move somewhere, does it play the 'walk' or the 'walk gold' animation?
2) If I want 1 random item created at a Rect, but I dunno how. I first thought this was the right way:
Events: ........ Conditions: ........ Actions: If: Random Integer bewteen 100 and 1 is 50 or less Then: create 1 .... Else: If: Random Integer between... etc, etc...
But then more items are created. I want an item to be created like an item table. Just 1 item but all the items have a percentage to be created.
1. If you have a unit perform a special animation done through the anim trigger, it will stop whatever anim it is doing and resume normal walking animations once you order it to move.
2. If there is a limited # of items that are going to be made that way, I suggest warping pre-existing items (set off to the side of the map and hidden in a specific region, so you can just unhide and pick a "random item in region" and move it to the position of the dying unit. Thats the best way I can think of of making it random but equal. -VGsatomi
Just put some of the items have more chance to be dropped by using more integers for it. Lets say u want tome of strength to be dropped 2 out of 5 times:
Events- ... Conditions- ... Actions- Set (the created integer) to random integer between 1 and 5.
If: (the created integer) equal to 1 Then: create (tome of str) on (region) Else: do nothing
If: (the created integer) equal to 2 Then: create (tome of str) on (region) Else: do nothing
If: (the created integer) equal to 3 Then: do nothing Else: do nothing
If: (the created integer) equal to 4 Then: do nothing Else: do nothing
If: (the created integer) equal to 5 Then: do nothing Else: do nothing