Problem with local variables

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,928
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 28
Joined
Nov 18, 2012
Messages
2,010
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