[List] String/Integer Codes (WIP)

elmstfreddie

The Finglonger
Reaction score
203
*Requesting name change to
  • Integer and String Codes (WIP)

    Just a list of codes for things like types of lightning, or order codes for casting spells (ie Orc - Tauren Chieftain - Shockwave).

    Integer Codes

    Expiration Timers
    • Animate Dead = 'BUan'
    • Disease Cloud = 'Bapl'
    • Force of Nature = 'BEfn'
    • Generic = 'BTLF'
    • Healing Ward = 'Bhwd'
    • Raise Dead = 'Brai'
    • Water Elemental = 'BHwe'

    String Codes

    Lightning
    • Chain Lightning - Primary = "CLPB"
    • Chain Lightning - Secondary = "CLSB"
    • Drain = "DRAB"
    • Drain Life = "DRAL"
    • Drain Mana = "DRAM"
    • Finger of Death = "AFOD"
    • Forked Lightning = "FORK"
    • Healing Wave - Primary = "HWPB"
    • Healing Wave - Secondary = "HWSB"
    • Lightning Attack = "CHIM"
    • Magic Leash = "LEAS"
    • Mana Burn = "MBUR"
    • Mana Flare = "MFPB"
    • Spirit Link = "SPLK"

    Point Target Orders
    • Attack Move To = "attack"
    • Attack Ground = "attackground"
    • Move To = "move"
    • Patrol To = "patrol"
    • Right-Click To = "smart"
    • Set Rally-Point To = "setrally"
    • Unload All At = "unloadall"
    • Human Mortar Team - Flare = "flare"
    • Human Dragonhawk Rider - Cloud = "cloudoffog"
    • Human Archmage - Blizzard = "blizzard"
    • Human Firemage - Flamestrike = "flamestrike"
    • Orc Witch Doctor - Sentry Ward = "evileye"
    • Orc Witch Doctor - Stasis Trap = "stasistrap"
    • Orc Witch Doctor - Healing Ward = "healingward"
    • Orc Spirit Walker - Disenchant = "disenchant"
    • Orc Far Seer - Far Sight = "farsight"
    • Orc Far Seer - Earthquake = "earthquake"
    • Orc Shadow Hunter - Serpent Ward = "ward"
    • Orc Tauren Chieftain - Shockwave = "shockwave"
    • Night Elf Ancients - Root = "root"
    • Night Elf Wisp - Detonate = "detonate"
    • Night Elf Keeper of the Grove - Force of Nature = "forceofnature"
    • Night Elf Priestess of the Moon - Starfall = "obsolete"
    • Night Elf Warden - Blink = "blink"
    • Undead Destroy - Devour Magic = "devourmagic"
    • Undead Crypt Lord - Impale = "impale"
    • Undead Dread Lord - Carrion Swarm = "carrionswarm"
    • Undead Dread Lord - Inferno = "dreadlordinferno"
    • Undead Lich - Death and Decay = "deathanddecay"
    • Neutral - Breath of Frost = "breathoffrost"
    • Neutral - Monsoon = "monsoon"
    • Neutral - Kaboom! = "selfdestruct"
    • Neutral Beast Master - Stampede = "stampede"
    • Neutral Dark Ranger - Silence = "silence"
    • Neutral Naga Sea Witch - Tornado = "tornado"
    • Neutral Pandaren Brewmaster - Breath of Fire = "breathoffire"
    • Neutral Pit Lord - Rain of Fire = "rainoffire"
    • Neutral Alchemist - Healing Spray = "healingspray"
    • Neutral Tinker - Cluster Rockets = "clusterrockets"
    • Neutral Tinker - Pocket Factory = "summonfactory"
    • Neutral Fire Lord - Volcano = "volcano"
    • Special Archimonde - Dark Portal = "darkportal"
    • Special Archimonde - Rain of Chaos = "rainoffire"
    • Special Doom Guard - Rain of Fire = "rainoffire"
    • Special Warlock - Inferno = "inferno"
    • Special - Dark Summoning = "darksummoning"


    Soon to come:
    Unit target orders
    Destructible target orders
    Item target orders
    No-target orders
    Terrain Types
    Timed Lives

    Any suggestions for layout or other string orders are wanted. Please tell me if this is of any use to you guys :p
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
Suggestion: give the Integer counterparts if possible.
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Try adding (Item - Wand of Illusion) I believe it doesn't have an order string.
 

elmstfreddie

The Finglonger
Reaction score
203
Wand of Illusion - is that a unit target or a non-target?
If it's a non-target you probably just use the mirror image string, if it's unit target I unno :p

Suggestion: give the Integer counterparts if possible.
What integer counterparts >_>
When JASSing it asks for order string, or in lightning just a string, as far as I know there ARE no integers.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
There are integer counterparts to commands. For example,

Smart = 851971
Attack = 851983
Move = 851986
Patrol = 851990
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Can't you just look in the object editor?

textev8.png
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
u don't have to remove it's not a burden but what he says is there is no much point adding them cuz it's easy just check in the editor as simply checking for raw id of unit but if u already added then keep it also add terrain types
 

Evan1993

Ultra Cool Member
Reaction score
30
Try adding (Item - Wand of Illusion) I believe it doesn't have an order string.

Yep, you have to use its ID. (Which is 852274 btw.)

You might just as well ask when you would need this "list"...
Yeah. If I can’t find it in the object editor then I just add this trigger:

Code:
FixIT
    Events
        Unit - A unit Is issued an order targeting an object
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order with no target
    Conditions
    Actions
        Custom script:   call BJDebugMsg( I2S( GetIssuedOrderId() ) )

Then give a unit the ability and have him cast it. Still maybe some people will find it helpful.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
I find this thread better than checking into the Object Editor every time: waiting the brushes to load, finding the right ability->the right field.

Nice job. It serves it's purpose if one person finds it useful already. :D
 

elmstfreddie

The Finglonger
Reaction score
203
K thanks for the encouragement Andrew :D
I got the idea when I wanted to make lightning but I didn't know the string code for it =/

I'm thinking for lightning I will add pictures of what the lightning looks like next to the string.

I will continue working on this after dinner :D
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
Thanks for running this elmstfreddie, good job.

May I suggest though, focusing in things which are not so easy to find out (say integers of orders etc.)?

Oh, don't forget to add timed life buffs, I can never remember those. :p
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
> still need to know when you use integers for orders though

Certain functions takes order by integer while others by string, I'm not completely sure why is that.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Good job, +REP!

This will come in handy, but the thread name isn't true.

"String"...

The expiration timers are integers.

[' # '] = Integer
[" Text "] = String

:D
 

elmstfreddie

The Finglonger
Reaction score
203
Yeah, I added the expiration timers because of a request :)
This is gonna turn into an Integer/String list, so I gotta edit original post to change title.
(I just came back to use this myself actually :p)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top