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

Question for Region/String

Status
Not open for further replies.
Okay, So...
I have to ask ye something, can you convert a String to Region?
Or use String as a Region?

Examble:
JASS:
local string string_Start
local string string_End
local string string_Result
local integer loop_Start = 1
local integer loop_End = 99

loop
  if loop_Start!=loop_End then
    set loop_Start = loop_Start + 1
    set string_Start = gg_rct_MyRect
    set string_End = loop_Start
    set string_Result = string_Start + string_End

    set udg_Region[loop_Start] = ?string_Result?
  endif
endloop


It might sound silly, but I want to know if it would be possible somehow like that.
 
Last edited:
Level 7
Joined
Jul 18, 2009
Messages
272
Doesn't this belong in the "Trigger & Scripts" section?

Anyway, I'm not sure what you are trying to do there.
You try to save a region in a string variable and then add an integer to that string? :eekani:
I want to know if it would be possible somehow like that
"Somehow like that" definitely not, no. :ugly:

Please explain in more detail what you are trying to do and why you are trying to do it, that'll make it easier to help you.
 
Status
Not open for further replies.
Top