Skip to content
User Avatar
#1929
Auto-translated
RedHeavenHero
Add a check to your function for the start of a new day to verify that the garrison belongs to that player.
if GetObjectOwner("garrison_name") == player_who_captured_the_garrison then
AddObjectCreatures("garrison_name", type, quantity)
end


Thank you very much.

And here is another question. Could you tell me how to specify the damage animation for a creature in the PlayObjectAnimation script? I mean the damage animation that plays when it is hit... But for some reason, the manuals don't list the names of these animations... Thank you in advance.
PlayObjectAnimation("red_warrior", "",
ONESHOT);

Statistics

Welcome our newest member: artem

Users Online 4 users 1650 guests