R
Regicid3
Guest
i have done a quest with this tutorial and it was a great help but now whenever i test map the little lumber and food icons arent there its just a green box, help?
I'm not very good at making maps... I dont understand that part ((Region centered at (Position of Captain 0009 <gen>)
I don't think I really need to explain anything for this part of the trigger so i'll just post up, what I think is good for it to look like:
Code:If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Kobold_Killed Equal to 10 Then - Actions Sound - Play GoodJob <gen> Game - Display to (All players) the text: Return to the Capta... Trigger - Turn off (This trigger) Else - Actions Do Nothing
So it's just saying if you reach 10/10 it will display a little message, and i've added a sound in for good will.
Final look:
Code:aKill Kobolds Events Unit - A unit Dies Conditions Or - Any (Conditions) are true Conditions (Unit-type of (Triggering unit)) Equal to Kobold Tunneler (Unit-type of (Triggering unit)) Equal to Kobold Geomancer Actions Set Kobold_Killed = (Kobold_Killed + 1) Game - Display to (All players) for 3.00 seconds the text: (((String(Kobold_Killed)) + /10) + Kobolds Killed.) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Kobold_Killed Equal to 10 Then - Actions Sound - Play GoodJob <gen> Game - Display to (All players) the text: Return to the Captain for your Reward. Else - Actions Trigger - Turn off (This trigger)
Else - Actions:
Do Nothing
Else - Actions
Trigger - Turn off (This trigger)
Then - Actions
Sound - Play GoodJob <gen>
Game - Display to (All players) the text: Return to the Capta...
Trigger - Turn off (This trigger)
Else - Actions
Do Nothing
Killing the bandit lord
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Triggering unit) Equal to Villager (Male 2) 0027 <gen>
Actions
Game - Display to (All players) for 15.00 seconds the text: So you want some mo...
Quest - Display to (All players) the Quest Update message: New quest: Your hea...
Quest - Create a Required quest titled [8] Your head or my... with the description Objective: kill the..., using icon path ReplaceableTextures\CommandButtons\BTNStormBrewmaster.blp
Quest - Flash the quest dialog button
Set Storms_head = (Last created quest)
Special Effect - Destroy (Last created special effect)
Trigger - Turn on Storms head <gen>
Trigger - Turn off (This trigger)
Storms head
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Storm 0065 <gen>
Actions
Set Storms_head2 = (Storms_head2 + 1)
Set Storms_head_item = (Last created item)
Game - Display to (All players) for 4.00 seconds the text: (((String(Storms_head2)) + /1) + Storms head)
Game - Display to (All players) for 5.00 seconds the text: Return to Bob.
Quest - Mark (Last created quest) as Completed
Sound - Play GoodJob <gen>
Trigger - Turn on Returning storms head <gen>
Trigger - Turn off (This trigger)
Returning storms head
Events
Unit - A unit comes within 256.00 of Villager (Male 2) 0027 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Paladin 0052 <gen> has (Last created item)) Equal to True
Then - Actions
Game - Display to (All players) the text: Thank you,we will b...
Quest - Destroy (Last created quest)
Player - Add 200 to Player 1 (Red) Current gold
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
Hey can anyone tell me how to do the If - Kobold_Killed Equal to 10 in trigger two? I thought it was in Trigger Comparison, where i put one value as Assassin_Killed, but I couldn't find out how to put the 10 in the second value.
Edit: This also happened with Condition in trigger 3.
I'm kinda getting back into mapping, so hey, I may be able to answer some question now .
I can add a special effect but how to remove it the "destroy special effect" doesn't work..
You sure it doesn't work?
btw post your trigger?