im sorry for the "wall of mess " xD i thought it would be as in editor...
anyhow the thing is that i dont know how to create a global veriable and where to create it and so on...if u had like a picture or something, i would really appreciate it :) (kinda noob to all this :( started with map editor yesterday...)
this is what is looks like, im not sure what you mean, where do i create the true or false variable?
Untitled Trigger 001
Events
Unit - Infestor (Spellcaster) [125.89, 125.63] takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Untitled Variable 001 = 0 <Integer>
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Infestor (Spellcaster) [125.89, 125.63] Life (Percent) (Current)) >= 70.0
Then
UI - Display "Nice " for (All players) to Subtitle area
Else
I have this trigger that does "If (infestors) current life % is >= 70 it will then Display a text on the screen like (Times up or something), but how do i do so it only shows up once and not everytime he gets hit under 70% hp?
0
@TheAlmaity: Go
ok ty i will try that :)
0
@nevjmac: Go
im sorry for the "wall of mess " xD i thought it would be as in editor... anyhow the thing is that i dont know how to create a global veriable and where to create it and so on...if u had like a picture or something, i would really appreciate it :) (kinda noob to all this :( started with map editor yesterday...)
0
@nevjmac: Go
this is what is looks like, im not sure what you mean, where do i create the true or false variable? Untitled Trigger 001 Events Unit - Infestor (Spellcaster) [125.89, 125.63] takes Fatal or Non-Fatal Any damage (from Any effects) Local Variables Untitled Variable 001 = 0 <Integer> Conditions Actions General - If (Conditions) then do (Actions) else do (Actions) If (Infestor (Spellcaster) [125.89, 125.63] Life (Percent) (Current)) >= 70.0 Then UI - Display "Nice " for (All players) to Subtitle area Else
0
I have this trigger that does "If (infestors) current life % is >= 70 it will then Display a text on the screen like (Times up or something), but how do i do so it only shows up once and not everytime he gets hit under 70% hp?