- Joined
- Dec 29, 2009
- Messages
- 931
-
Q1 Finish
-
Events
- Unit - A unit Sells an item (from shop)
-
Conditions
- (Selling unit) Equal to Sergeant Karael 0060 <gen>
- (Buying unit) Equal to HS_PlayerHero[(Player number of (Owner of (Buying unit)))]
- (Item-type of (Sold Item)) Equal to Finish Quest
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Q1_Killcount[(Player number of (Owner of (Buying unit)))] Less than 20
-
Then - Actions
- Cinematic - Clear the screen of text messages for (Player group((Owner of (Buying unit))))
- Game - Display to (Player group((Owner of (Buying unit)))) for 4.00 seconds the text: |cffffcc00Sergeant ...
-
Else - Actions
- Set Q1_SFXTempLoc[(Player number of (Owner of (Buying unit)))] = (Position of HS_PlayerHero[(Player number of (Owner of (Buying unit)))])
- Special Effect - Create a special effect at Q1_SFXTempLoc[(Player number of (Owner of (Buying unit)))] using Abilities\Spells\Items\AIlm\AIlmTarget.mdl
- Custom script: call RemoveLocation(udg_Q1_SFXTempLoc[GetConvertedPlayerId(GetBuyingUnit())])
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
- Custom script: call RemoveLocation(udg_Q1_SFXTempLoc[GetConvertedPlayerId(GetBuyingUnit())])
I need to remove this location;
- Set Q1_SFXTempLoc[(Player number of (Owner of (Buying unit)))] = (Position of HS_PlayerHero[(Player number of (Owner of (Buying unit)))])