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

Help needed!

Status
Not open for further replies.
Level 1
Joined
Sep 6, 2010
Messages
2
Hi I am new to creating warcraft maps and i do not understand about triggers and all. I need help or guidance about adding triggers. Example if i want to change a pleasant into a bear during the night, how do i do it? I also do not understand what is JASS. Please guide me, Thank you.
 
Level 31
Joined
Apr 17, 2009
Messages
3,572
JASS is the name of the code of Warcraft 3.
GUI is the same as JASS, just made easier for the user because it has a graphical interface.
JASS is just a listing of code like this:
JASS:
private function UnitsNearby takes real x, real y, unit dragged returns boolean
        local group nGroup = CreateGroup()
        local unit n
        set draggedUnit = dragged
        call GroupEnumUnitsInRange(nGroup, x, y, 60, kbBoolexpr)
        set n = FirstOfGroup(nGroup)
        call DestroyGroup(nGroup)
        set nGroup = null
        set draggedUnit = null
        if n == null then
            return false
        else
            set n = null
            return true
        endif
    endfunction

JASS has the advantage that it takes less time to code and has functions GUI doesn't have. It's also more efficient then GUI because it leaves some unused stuff away that GUI creates automatically.
But it's a bit complicated to learn.
 
Status
Not open for further replies.
Top