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

I need help again!

Status
Not open for further replies.
Level 5
Joined
Nov 17, 2005
Messages
165
First thing first - JASS and what you call "scripts" seems to be the same thing. And now, my answer to your question; both. If you have a choise, though, I'll have to say JASS, presupposed you know JASS. Otherwise, you can do it using the GUI too, but writing it in JASS probably saves you a lot of time in the end, since such a system is rather complex.
 

Orc_Tamer

O

Orc_Tamer

  • Events
    • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type Stygian Desolator) Equal to True
        • Then - Actions
          • Set Styg = 0
          • For each (Integer A) from 1 to 6, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Mithril Hammer +26
                  • Styg Less than or equal to 2
                • Then - Actions
                  • Set Styg = (Styg + 1)
                • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Styg Equal to 2
            • Then - Actions
              • For each (Integer B) from 1 to 6, do (Actions)
                • Loop - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Item-type of (Item carried by (Triggering unit) in slot (Integer B))) Equal to Mithril Hammer +26
                      • Styg Greater than 0
                    • Then - Actions
                      • Item - Remove (Item carried by (Triggering unit) in slot (Integer B))
                      • Set Styg = (Styg - 1)
                    • Else - Actions
              • Item - Remove (Item carried by (Triggering unit) of type Stygian Desolator)
              • Set Temporary_Point = (Position of (Triggering unit))
              • Item - Create Stygian Desolator at Temporary_Point
              • Hero - Give (Last created item) to (Triggering unit)
              • Special Effect - Create a special effect at Temporary_Point using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Custom script: call RemoveLocation( udg_Temporary_Point )
              • Wait 2.00 seconds
              • Special Effect - Destroy (Last created special effect)
            • Else - Actions
        • Else - Actions
This is used when 2 items are the same and you want to combine them. I was just making it like DotA's Desolator :p
 
Level 13
Joined
Jun 22, 2004
Messages
783
GUI - Triggers made by blizzard, which have less options but are more playable with for people that do not know scripting.
Jass - Also called custom text, you can revert GUI to jass, but not always the other way around, jass is the langauge used by blizzard, but as soon as you know scripting you should easily learn jass as well, jass has more functions that GUI and is mainly memory leak free on the contrary to GUI.
Script - Also called Custom script code, it might be the same as jass, but here is were the actual coding goes, like how anitarf and Infrane built their cinematic system, you can only do this in one place of the triggers, on the contrary to jass.

so you could say there are 3 types of programming, but GUI and jass are not really programming languages, they are more blizzard langauge to make things happening within the editor.
 
Status
Not open for further replies.
Top