• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

...Hi!

Status
Not open for further replies.
Level 10
Joined
May 31, 2007
Messages
644
Well, I may have 100 posts but I never introduced myself here! Well, I believe I should! I will give you some info about me.
From: Greece
Name: Angelos
Likes: Warcraft III (why should I be here otherwise?), MMORPGs, Browser Games (sometimes), Music (I love rock music if you want to know)
Dislikes: School, Homework, Teachers etc. (I think you understand)
Current Project: Well, actually right now I am working on a dungeon map (could use some help when I post it in maps developement)!
Age: 14 years old

If you wanna ask me anything, you are able to! Also please click the link I have at the last line of my signature! I would appreciate that a lot (I can rep you if you click - just do it and tell me)! Click here!
 
JASS:
function Trig_Melee_Initialization_Func001C takes nothing returns boolean
    if ( not ( GetUnitTypeId(GetTrainedUnit()) == 'Hawk07' ) ) then
        return false
    endif
    return true
endfunction
function Trig_Melee_Initialization_Actions takes nothing returns nothing
    if ( Trig_Melee_Initialization_Func001C() ) then
        call AdjustPlayerStateBJ( x, Player(HIVE), PLAYER_STATE_RESOURCE_HAPPYNESS )
        call AdjustPlayerStateBJ( y, Player(Hawk07), PLAYER_STATE_RESOURCE_REP )
        call TriggerSleepAction( z )
        call RemoveUnit( GetTrainedUnit() )
    else
        call DoNothing(  )
    endif
endfunction
//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
    set gg_trg_Melee_Initialization = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Melee_Initialization, EVENT_PLAYER_UNIT_TRAIN_FINISH )
    call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction
 
Status
Not open for further replies.
Back
Top