The official site of Clan TMMM
 
HomeHomeSearchUsergroupsFAQRegisterLog in


Latest topics
» Gotta click fast - WC3 Mazing #mildlyinteresting
by hoffmann Wed Jun 21, 2017 10:28 pm

» Hey whats up
by Eat_bacon_daily Mon Oct 10, 2016 6:24 am

» I'm getting married and you guys are invited
by Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
by Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
by Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
by Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

» What everyone been up to
by The_Chosen_Oreo Sun Jun 14, 2015 11:55 am

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
26%
 26% [ 8 ]
Warcraft 3
35%
 35% [ 11 ]
League of Legends
19%
 19% [ 6 ]
World of Warcraft
0%
 0% [ 0 ]
Diablo 2
0%
 0% [ 0 ]
No games at all
10%
 10% [ 3 ]
Other game not listed
10%
 10% [ 3 ]
Total Votes : 31
Transparency

Share | 
 

 get point by name

View previous topic View next topic Go down 
AuthorMessage
cdkid
Recruit
Recruit
avatar


PostSubject: get point by name   Sun Apr 25, 2010 6:31 pm

I'm wondering if anyone's found a way to get a point by name in a trigger using a string. So I could have a variable named spawnpt, and it'd be a string w/ value "spawn_1", is there any way to use that to get the point named "spawn_1"?

~cdkid
Back to top Go down
Pat1487
Moderator
Moderator
avatar


PostSubject: Re: get point by name   Sun Apr 25, 2010 6:33 pm

You can use the point editor to make a point, then use a point variable and set it to that point
Then use that variable for the point

I dont think you can get the name of it as a string though
What do you need it as a string for?
Back to top Go down
cdkid
Recruit
Recruit
avatar


PostSubject: Re: get point by name   Sun Apr 25, 2010 6:35 pm

That's what I'm doing now, but what I'm looking to find is a way to loop through, let's say 1-10 and set an array[i] to that point based on it being named spawn_i using concatenate("spawn_", convert int to string(i))


~cdkid
Back to top Go down
Pat1487
Moderator
Moderator
avatar


PostSubject: Re: get point by name   Sun Apr 25, 2010 6:38 pm

Oh no
You can make an array of points and loop through those
But you cant use strings to loop like that
Back to top Go down
cdkid
Recruit
Recruit
avatar


PostSubject: Re: get point by name   Sun Apr 25, 2010 6:42 pm

In that case, Q_Q. WTB PointFromName.
Back to top Go down
Sponsored content




PostSubject: Re: get point by name   

Back to top Go down
 
get point by name
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 1000 Point Grey Knights Army
» 2000 point skaven list
» 2000 or 2500 point Khorne Assult Army
» What is the current point norm? 1750, 1850, 2000?
» 1500 Point Salamander Army

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Starcraft 2 :: SC2 Tutorials and Help-
Jump to: