• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Anti-indenting and spell section typo

Status
Not open for further replies.
I've noticed while viewing spells in the spells section, that at the top it says:

"Model Details for <spellname>"
Which should be "Spell" instead of "Model".

Also, something that keeps bugging me is anti-indenting JASS scripts when i try to edit a post.

JASS:
function Something takes nothing returns boolean
    local boolean b=true
    return b
endfunction
If i edit the post, it will look like this:
JASS:
function Something takes nothing returns boolean
local boolean b=true
return b
endfunction
Tottaly unindented.
 
JASS Indenting Bugs

It's the same for me. That's why I never wrote any JASS tutorials because I got frustrated at the indenting. I think the reason why it does that is because when you "space" out a word, it goes back to the area before the spaces,eg:
Before:
....Word (Spaced Out)
After:
Word (Spaced Out)

JASS:
function FUNC takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction

^ If you preview this ^

The text will endup like this:
[code=jass]function FUNC takes nothing returns nothing
call KillUnit(GetTriggerUnit())
endfunction[/code]

Unindented as well. So you'll need to re-indent it. :sad:

I think there may be the same problem with quotes but I didn't test it yet.
 
Status
Not open for further replies.
Top