- Joined
- Oct 31, 2010
- Messages
- 1,057
hmm weird, every time i use integer to count stuffs like unit kills
i get 0 first O:, how do i fix this ?
example (actual thing actually): i got a quest and i want the player to kill 3 satyrs
but when i kill the first satyr, the game messages = 0 satyr, 1 satyr , 2 satyr so i have to kill 4 satyrs :C how do i fix this ?
i get 0 first O:, how do i fix this ?
example (actual thing actually): i got a quest and i want the player to kill 3 satyrs
but when i kill the first satyr, the game messages = 0 satyr, 1 satyr , 2 satyr so i have to kill 4 satyrs :C how do i fix this ?
-
Quest Satyrs killed my husband repeatable
-
Events
-
Unit - Sorceress 0170 <gen> Is selected
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Satyrskilledmyhusband is completed) Equal to False
-
-
Then - Actions
-
Quest - Enable Satyrskilledmyhusband
-
Quest - Display to (All players) the Quest Update message: |cffffcc00The satyr...
-
Quest - Create a Required quest titled Satyrs killed my hu... with the description The satyrs out in t..., using icon path ReplaceableTextures\CommandButtons\BTNSatyrTrickster.blp
-
Set Satyrskilledmyhusband = (Last created quest)
-
Special Effect - Destroy SpecialEffect_Quests[1]
-
Set QuestKills[1] = 0
-
Set QuestKills[2] = 0
-
Set QuestKills[3] = 0
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
Else - Actions
-
-
-
-
-
-
Quest Satyrs killed my husband repeatable Killing Spree
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Satyrskilledmyhusband is enabled) Equal to True
-
((Dying unit) is in (Units of type Satyr)) Equal to True
-
-
Then - Actions
-
Game - Display to (All players) the text: (You guys have killed + ((String(QuestKills[1])) + |cffff8c00Satyrs|r))
-
Set QuestKills[1] = (QuestKills[1] + 1)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Satyrskilledmyhusband is enabled) Equal to True
-
((Dying unit) is in (Units of type Satyr Trickster)) Equal to True
-
-
Then - Actions
-
Game - Display to (All players) the text: (You guys have killed + ((String(QuestKills[2])) + |cffff8c00Satyr Soulstealers|r))
-
Set QuestKills[2] = (QuestKills[2] + 1)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Satyrskilledmyhusband is enabled) Equal to True
-
((Dying unit) is in (Units of type Satyr Shadowdancer)) Equal to True
-
-
Then - Actions
-
Game - Display to (All players) the text: (You guys have killed + ((String(QuestKills[3])) + |cffff8c00Satyr Shadowdancers|r))
-
Set QuestKills[3] = (QuestKills[3] + 1)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
-
-