• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[JASS] handles and widgets

Status
Not open for further replies.
handler?

you mean handle.

a handle is ANYTHING that is not a Boolean, String, Integer, Real, or Code

a widget is a HANDLE that is not in the Player ( force, player, etc. ) or Trigger category

( someone correct me if im wrong on the widget )

therefore, any unit is a widget, so we can say

unit u == widget u <--- this will be true if widget u was assigned the same object as unit u

unit u == handle u <--- this will be true if handle u was assigned the same object as unit u

widget u == handle u <--- this will always be true

in Common.j, you can look all this upp

eg. Type Widget extends Handle

etc.
 
thnx, but i still don't understand...

uhmm ok, I get the thing about handles (not handlers :oops: ) and widgets, but what's with them?? when can they come handy?? What's the best use for them??

It's not just curiousity... I'm making an RPG map and therefore I need complicated triggers for the custom spells and traps and bosses... maybe some of the information you give here save me some time and effort and make me the most thankful person on earth.
 
Status
Not open for further replies.
Back
Top