• 🏆 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!

Problem with local variables

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,852
I wanna create more than 1 local variables in the same lane, but I don't get how, can you help me?
upload_2020-10-29_20-34-30.png
 

Wrda

Spell Reviewer
Level 26
Joined
Nov 18, 2012
Messages
1,887
This isn't Lua nor C#.
There's no such thing as making local variables in the same line in JASS
JASS:
local real x1
local real y1
local real z1
You can initially set them to a value if you want by adding "=" in front and a value.
 
Last edited:
Status
Not open for further replies.
Top