• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] structs... what the heck

Status
Not open for further replies.
Level 16
Joined
Jun 9, 2008
Messages
734
JASS:
set udg_KBA_Caster = this.caster
                set udg_KBA_TargetUnit = this.tar
                set udg_KBA_StartingPosition = loc
                set udg_KBA_Level = this.level
                set udg_KBA_Speed = 7.
                set udg_KBA_DistancePerLevel = 100.
                set udg_KBA_SpecialEffects[1] = "Abilities\\Spells\\Human\\FlakCannons\\FlakTarget.mdl"
                set udg_KBA_SpecialEffects[2] = FX
                set udg_KBA_DestroyTrees = true

why use udg_ prefixes?
 
Status
Not open for further replies.
Top