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

[Repo] Order Ids

for the sake of completion, how about add the order id for:
1. using item in each slot?
2. the order id for 'wand of illusion' item ability and lots alike?

and i'm wondering how could this kill the speed of global variables?

I'm adding a lot more orders than just those... like the order issued to a unit when stunned and the smart order ; P.

Also... as you declare more things in a map, it adds to the scope. When a variable is read, it has to be looked up. The more things in the scope, the longer it takes to look something up. Global variable speed were once tested against locals, and it was found that the more globals there were in the map, the slower globals were as compared to locals. With I think like 100 or 1000 (was a long time ago), it was as much as a 1000% difference.

2. the order id for 'wand of illusion' item ability and lots alike?

Are those really useful? :\

/cry
 
Last edited:
Level 9
Joined
Dec 12, 2007
Messages
489
Are those really useful? :\
/cry
well, that 'Wand of Illusion' item ability is a great to use as a base ability to generates illusion, target unit based, and doesn't make the source unit invulnerable for a period etc.
this is the only item ability, which as far as i know, is widely used for illusion generating, and to use it AS an ability, it cannot be ordered via orderstring, it only accessible via orderID.
other workaround, is to make a dummy item containing that ability, and order the dummy to use that item instead, which i presume as inefficient unlike using the ability directly.

what do you think?
just questioning, have you ever try making a spell that involves illusions?
perhaps if my answer above don't make sense, you should try it yourself^^
 
Level 5
Joined
Dec 6, 2009
Messages
79
> Don't double post especially in the Jass section =C
sry.
> They're organized in alphabetical order, so I don't see why you'd find it inconvinient :p
look at the date in my screenshot, it's 2009, so, i only wanted to say, that library containing all orders already exists.
> cjass is buggy
not so buggy, as you think. there is only bugs with static ifs and textmacros declaring inside the functions, and you can use cjass #if's and #define's instead of it.
 
Level 5
Joined
Dec 6, 2009
Messages
79
Bribe, your arguments looks "weird" =(
why cjass should limit users in writing their code? everyone writes it as he wants. so, maybe blizzard should disallow use custom script in GUI, because it looks weird? also, you can use semicolon where do you want to use it. the main purpose of cjass it's making the code shorter, simplier, and allow users to write their code much faster, so limits interfere this purpose.
 
Perl is a public language that's pretty much unreadable
to anyone but the guy who wrote it. While cJass isn't
nearly so bad, it's spaghetti code at best.

I worked lots on making a readable syntax for JASS,
even asking for support from the community, but there
currently is not enough agreement on how the syntax
should be done. I think it's because JASS is just an ugly
language and unable to make beautiful, due to its limits.

Maybe in that sense cJass is understandable, but the
big JASS communities (HiveWorkshop, wc3c, TheHelper)
do not accept it in public resources.
 
Top