P
Perseus
Guest
I am player 1. When my hero enters a region, triggers create a bloodmage for player 2 in that region. during this time, this new summoned hero attacks some enemies. (to make it look like you stumbled upon a wandering hero). when the enemies are dead, i want the bloodmage to join my force. player 1 and player 2 are on the same force. here is my code this far:
mainquest1
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Quest - Create a Required quest titled Main Quest with the description Help the Bloodmage ..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Set mainquest = (Last created quest)
Quest - Create a quest requirement for (Last created quest) with the description Bring the Bloodmage...
Quest - Enable (Last created quest)
paladinenter
Events
Unit - A unit enters rain3 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Paladin
Actions
Unit - Create 1 Blood Mage for Player 2 (Blue) at (Center of enemy1 <gen>) facing (Center of enemy1 <gen>)
Trigger - Turn off (This trigger)
death1
Events
Unit - Forest Troll Berserker 0085 <gen> Dies
Unit - Forest Troll Berserker 0087 <gen> Dies
Conditions
(Forest Troll Berserker 0085 <gen> is dead) Equal to True
(Forest Troll Berserker 0087 <gen> is dead) Equal to True
Actions
Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
Cinematic - Disable user control for (All players)
Cinematic - Send transmission to (All players) from Paladin 0006 <gen> named Paladin: Play No sound and display What brings a Blood.... Modify duration: Set to 4.00 seconds and Wait
Cinematic - Send transmission to (All players) from (Summoned unit) named Bloodmage: Play No sound and display Yes, I am a bloodma.... Modify duration: Set to 7.00 seconds and Wait
Cinematic - Send transmission to (All players) from Paladin 0006 <gen> named Paladin: Play No sound and display Of course, follow o.... Modify duration: Set to 4.00 seconds and Wait
Cinematic - Enable user control for (All players)
Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
Quest - Mark mainquest as Discovered
Quest - Display to (All players) the Quest Discovered message: MAIN QUEST
Quest - Display to (All players) the Quest Discovered message: Bring the Bloodmage...
Cinematic - Ping minimap for (All players) at (Center of church <gen>) for 3.00 seconds
Quest - Flash the quest dialog button
Unit - Change ownership of (Summoned unit) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
When the Bloodmage defeats the enemies, he does not join my force. How can I fix this?
mainquest1
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Quest - Create a Required quest titled Main Quest with the description Help the Bloodmage ..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Set mainquest = (Last created quest)
Quest - Create a quest requirement for (Last created quest) with the description Bring the Bloodmage...
Quest - Enable (Last created quest)
paladinenter
Events
Unit - A unit enters rain3 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Paladin
Actions
Unit - Create 1 Blood Mage for Player 2 (Blue) at (Center of enemy1 <gen>) facing (Center of enemy1 <gen>)
Trigger - Turn off (This trigger)
death1
Events
Unit - Forest Troll Berserker 0085 <gen> Dies
Unit - Forest Troll Berserker 0087 <gen> Dies
Conditions
(Forest Troll Berserker 0085 <gen> is dead) Equal to True
(Forest Troll Berserker 0087 <gen> is dead) Equal to True
Actions
Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
Cinematic - Disable user control for (All players)
Cinematic - Send transmission to (All players) from Paladin 0006 <gen> named Paladin: Play No sound and display What brings a Blood.... Modify duration: Set to 4.00 seconds and Wait
Cinematic - Send transmission to (All players) from (Summoned unit) named Bloodmage: Play No sound and display Yes, I am a bloodma.... Modify duration: Set to 7.00 seconds and Wait
Cinematic - Send transmission to (All players) from Paladin 0006 <gen> named Paladin: Play No sound and display Of course, follow o.... Modify duration: Set to 4.00 seconds and Wait
Cinematic - Enable user control for (All players)
Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
Quest - Mark mainquest as Discovered
Quest - Display to (All players) the Quest Discovered message: MAIN QUEST
Quest - Display to (All players) the Quest Discovered message: Bring the Bloodmage...
Cinematic - Ping minimap for (All players) at (Center of church <gen>) for 3.00 seconds
Quest - Flash the quest dialog button
Unit - Change ownership of (Summoned unit) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
When the Bloodmage defeats the enemies, he does not join my force. How can I fix this?


