Skip to content
User Avatar
#236
Auto-translated
In the second case, the first parameter is the hero's name, and the second is the object's name (which can also be a hero). Everything is as usual.
By the way, in the first case, everything is in the manual, you shouldn't have worried:
SetMonsterCourageAndMood – allows setting the monsters Courage and Mood with respect to
the specified player.
Syntax
{{{
SetMonsterCourageAndMood( monsterName, playerID, courage, mood )
}}}
Description
Sets the monster’s "monsterName" attitude to the heroes of the player "playerID" to the
values of "courage" and "mood".
The values (also described in "HOMM5_A2_IDs_for_Scripts.pdf"):
* "MONSTER_COURAGE_ALWAYS_JOIN"
* "MONSTER_COURAGE_ALWAYS_FIGHT"
* "MONSTER_COURAGE_CAN_FLEE_JOIN"
* "MONSTER_MOOD_FRIENDLY"
* "MONSTER_MOOD_AGGRESSIVE"
* "MONSTER_MOOD_HOSTILE"
* "MONSTER_MOOD_WILD"
The meanings of the values are similar to the "Courage" and "Mood" settings for the monsters
in the editor.
 

К А
Стикеры GBF в Telegram

Statistics

Welcome our newest member: artem

Users Online 2 users 1561 guests