Во втором случае первым параметром идёт имя героя, а вторым имя объекта (который тоже может быть героем). Всё как всегда.
В первом случае, кстати, всё в мануальчике есть, зря Вы так:
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.