HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Easiest JASS?

12-31-2006, 03:14 AM#1
Don0ndrew
Whats the easiest JASS spell to make? if you can, could you give my the custom script?
12-31-2006, 03:23 AM#2
Joker
What do you want with an easy jass script?
12-31-2006, 03:23 AM#3
darkwulfv
Uhhh... what?
Do you mean a spell that in no way uses a normal spell except for triggering the script?
12-31-2006, 03:28 AM#4
Vexorian
this would be the easiest JASS spell :

Collapse JASS:
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing

    call DisplayTextToPlayer( GetOwningPlayer(GetTriggerUnit()), 0,0, "Hello World!")
endfunction

//===========================================================================
function InitTrig_helloworld takes nothing returns nothing
    set gg_trg_helloworld = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_helloworld, EVENT_PLAYER_UNIT_SPELL_EFFECT )
    call TriggerAddAction( gg_trg_helloworld, function Trig_Untitled_Trigger_002_Actions )
endfunction

12-31-2006, 03:31 AM#5
darkwulfv
...wow. thats... not even a spell... its more of like an addon to a spell, if that.
12-31-2006, 04:19 AM#6
Anopob
And there's no even condition in that, lol.
12-31-2006, 04:50 AM#7
Chuckle_Brother
Obviously, because easy is subjective. Besides, Vex is just using the generic entry to any sort of language thingamagig(that thing being a "Hello World!" display).

Anyway, @author, what do you want to do exactly?
12-31-2006, 05:04 AM#8
zen87
if you are searching for jass spell example i think this is a good one, step by step explaination just for a stomp spell

http://wc3campaigns.net/showthread.php?t=83337
12-31-2006, 08:14 PM#9
zeroXD
When I started JASS I did'nt had a chance even understanding that stomp spell... Now I could have made it from scratch. However, some of the easiest "spell" ever would propably be what vex made... It displays a kickass MSG on the screen reading "Hello world!".
And why would you just want a random easy JASS-spell anyways?
12-31-2006, 09:11 PM#10
Falitian
Because he thinks that having a Jass spell in his map makes it cool?
12-31-2006, 09:31 PM#11
Av3n
... JASS Spells are neat, when you know how to do all sorts of things with it

-Av3n
12-31-2006, 10:05 PM#12
karukef
Using Warlock, this would be the easiest possible spell:

Collapse JASS:
function EasySpell takes nothing returns nothing
    //! BeginAbility A000
    call BJDebugMsg("Hello world!")
endfunction

It would display that message whenever the ability with rawcode 'A000' was cast and strike fear into the hearts of everyone.
12-31-2006, 11:18 PM#13
darkwulfv
Collapse JASS:
function EasySpell takes nothing returns nothing
    //! BeginAbility A000
    call BJDebugMsg("i")
endfunction

Correction. THAT is the easiest.
12-31-2006, 11:22 PM#14
karukef
Quote:
Originally Posted by darkwulfv
Collapse JASS:
function EasySpell takes nothing returns nothing
    //! BeginAbility A000
    call BJDebugMsg("i")
endfunction

Correction. THAT is the easiest.

Are you trying to tell me that it is EASIER to write "i" as opposed to "Hello world!"?

That's like using small font-size to save electricity.
12-31-2006, 11:26 PM#15
darkwulfv
it takes far less comparable time, plus less space. yes, it is.