HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

(simple) Question about naming scopes

05-22-2009, 04:57 PM#1
Cheezeman
Hey dudes!
I wanna know if I can name scopes with other characters than a-z
I mean... it sucks I can't name the scope for my spell "The Oliphant Berry Brewage" to Spell_Oliphant_Berry_Brewage.
I gets confusing trying to organize the trigger windows when all the names appear to be a random mess of characters.

Anyone got any solution?
+Rep to dude with proper help, negative or positive answer matters not.
05-22-2009, 06:37 PM#2
Deaod
Caps are your friends. Its possible to use number as well, as long as youre not using them as the first char of the name.
05-22-2009, 07:05 PM#3
Silvenon
I suggest just one or two words (capitalized) and if it's the only scope in the trigger, you can name it after the trigger (that's what I do).

Trigger:
SystemInit
blabla

Collapse JASS:
scope SystemInit
endscope

Or in your case I suggest you name the scope either TheOliphantBerryBrewage or use an abbreviation TOBB, which you can use later too, for example:

Collapse JASS:
scope Init_TOBB
endscope

Which looks better then

Collapse JASS:
scope Init_TheOliphantBerryBrewage
endscope

Whichever you find easier to read :D
05-22-2009, 08:09 PM#4
Cheezeman
So... Spell_TheOliphantBerryBrewage works, but not The_Oliphant_Berry_Brewage?
Well that sucks
I have no hope for organizing my spells properly xD
05-22-2009, 11:26 PM#5
Bobo_The_Kodo
You can't put _'s either

Just name it TheOliphantBerryBrewage of something :)
05-23-2009, 01:51 PM#6
Silvenon
Quote:
You can't put _'s either

? I didn't know that...well, I always learn something new :D

Yeah, then do the way Bobo said (or use an abbreviation TOBB).