• 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.

Tutorial Request

Status
Not open for further replies.
Level 5
Joined
Aug 8, 2008
Messages
113
About the use of events

call TriggerRegisterDestDeathInRegionEvent( gg_trg_Learning, GetCurrentCameraBoundsMapRectBJ() )
call TriggerRegisterDialogEventBJ( gg_trg_Learning, udg_a )
call TriggerRegisterDeathEvent( gg_trg_Learning, gg_dest_LTbr_0000 )
call TriggerRegisterGameStateEventTimeOfDay( gg_trg_Learning, EQUAL, 12 )
call TriggerRegisterVariableEvent( gg_trg_Learning, "udg_zz", EQUAL, 0 )
call TriggerRegisterGameLoadedEventBJ( gg_trg_Learning )
call TriggerRegisterGameSavedEventBJ( gg_trg_Learning )
call TriggerRegisterShowSkillEventBJ( gg_trg_Learning )
call TriggerRegisterBuildSubmenuEventBJ( gg_trg_Learning )
call TriggerRegisterGameEvent( gg_trg_Learning, EVENT_GAME_TOURNAMENT_FINISH_NOW )
call TriggerRegisterPlayerChatEvent( gg_trg_Learning, Player(0), "string", true )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_Learning, Player(0) )
call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Learning, Player(0), true )
call TriggerRegisterPlayerKeyEventBJ( gg_trg_Learning, Player(0), bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_LEFT )
call TriggerRegisterPlayerStateEvent( gg_trg_Learning, Player(0), PLAYER_STATE_RESOURCE_GOLD, GREATER_THAN_OR_EQUAL, 1000 )
call TriggerRegisterPlayerStateEvent( gg_trg_Learning, Player(0), PLAYER_STATE_RESOURCE_GOLD, GREATER_THAN_OR_EQUAL, 1000 )
call TriggerRegisterPlayerEventAllianceChanged( gg_trg_Learning, Player(0) )
call TriggerRegisterPlayerAllianceChange( gg_trg_Learning, Player(0), ALLIANCE_PASSIVE )
call TriggerRegisterPlayerEventVictory( gg_trg_Learning, Player(0) )
call TriggerRegisterPlayerEventDefeat( gg_trg_Learning, Player(0) )
call TriggerRegisterPlayerEventLeave( gg_trg_Learning, Player(0) )
call TriggerRegisterTimerEventSingle( gg_trg_Learning, 5 )
call TriggerRegisterTimerExpireEventBJ( gg_trg_Learning, udg_w )
call TriggerRegisterUnitEvent( gg_trg_Learning, gg_unit_hpea_0001, EVENT_UNIT_DEATH )
call TriggerRegisterEnterRectSimple( gg_trg_Learning, GetPlayableMapRect() )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Learning, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerRegisterEnterRectSimple( gg_trg_Learning, GetEntireMapRect() )
call TriggerRegisterLeaveRectSimple( gg_trg_Learning, GetCameraBoundsMapRect() )
call TriggerRegisterUnitInRangeSimple( gg_trg_Learning, 256, gg_unit_hsor_0002 )
call TriggerRegisterUnitLifeEvent( gg_trg_Learning, gg_unit_hmpr_0003, LESS_THAN, 50 )
call TriggerRegisterUnitManaEvent( gg_trg_Learning, gg_unit_hrif_0004, LESS_THAN, 50 )
call TriggerAddAction( gg_trg_Learning, function Trig_Learning_Actions )
 
Level 5
Joined
Aug 8, 2008
Messages
113
Basically what I want is a tutorial made describing an indepth use of trigger events. It can be in gui or Jass their really the same to me. I listed the JASS code but if you feel more comfortable with GUI then you can make the use in GUI.



Reason being I noticed that some events don't always work.... or some actions don't work unles syou have a certain event first.


So basically
  • How each event works with other events
  • how each event works with each condition
  • how each event works with each action
  • and the reasoning behind why it works this way
  • What events and actions dont work together
  • what events and conditions dont work together
  • What events and actions require each other
  • what events and conditions require each other
  • How each event works with other variables
  • and the reasoning behind why it works this way
  • What events and variables dont work together
  • What events and variables require each other
  • anything else i might be missing

similar to This but for all events and more indepth
 
Level 5
Joined
Aug 8, 2008
Messages
113
when you're using GUI, usually there's a description about the usage of some actions
how about take a look at that?

because if one were about to explain all those, the explanation would be long

I was hoping for that long explanation the short one is ok but not satisfactory enough. And not all of them have short explanations. or its about a single usage.
 
Status
Not open for further replies.
Top