• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[JASS] Probelms...

Status
Not open for further replies.
Okay, so I went and learned JASS.
I know all the basics. Only thing I can think that I don't know is "takes" and "returns", which I'm slowly beginning to understand.

But, my problem is I don't know to use any of it.
I don't know how any of the functions work.
The only one I know is "BJDebugMsg()".

I've tried converting GUI into JASS, but it's done nothing for me.
So could someone tell me where I can actually figure out what these things do?
 
I've got JASScraft.
But I just don't understand it all.
I either don't know what it means, or how I use it.
This:
JASS:
call PauseUnit(GetTriggeringUnit(), true)
The only thing I don't know about that is what "true" does.
I'd convert GUI to JASS, but I wasn't very good at GUI when I first started.
I learned some new things because of JASS, but I'm no master.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
I've got JASScraft.
But I just don't understand it all.
I either don't know what it means, or how I use it.
This:
JASS:
call PauseUnit(GetTriggeringUnit(), true)
The only thing I don't know about that is what "true" does.
I'd convert GUI to JASS, but I wasn't very good at GUI when I first started.
I learned some new things because of JASS, but I'm no master.
Let's refer to the native, then (the above explanation pretty much sucks as it doesn't teach you anything outside of this one native).

native PauseUnit takes unit whichUnit, boolean flag returns nothing

whichUnit is obviously the target. Whenever you see a boolean called "flag", it means that the value true will cause this function to occur and the value false will cause the exact opposite to occur. That is to say that call PauseUnit(JoeUnit,true) will pause JoeUnit while call PauseUnit(JoeUnit,false) will unpause him. Another good example of this is
native SetUnitInvulnerable takes unit whichUnit, boolean flag returns nothing, but the list goes on. Often this will have another name instead (but it will be very obvious); for example,
native SetUnitExploded takes unit whichUnit, boolean exploded returns nothing.
 
Status
Not open for further replies.
Top