The official site of Clan TMMM
 
HomeHomeSearchUsergroupsFAQRegisterLog in


Latest topics
» Hey whats up
get point by name I_icon_minitimeby seankly Wed Nov 14, 2018 1:55 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
get point by name I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

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

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

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

» Hey guys!!!
get point by name I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

» What everyone been up to
get point by name I_icon_minitimeby 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
get point by name I_vote_lcap26%get point by name I_vote_rcap
 26% [ 8 ]
Warcraft 3
get point by name I_vote_lcap35%get point by name I_vote_rcap
 35% [ 11 ]
League of Legends
get point by name I_vote_lcap19%get point by name I_vote_rcap
 19% [ 6 ]
World of Warcraft
get point by name I_vote_lcap0%get point by name I_vote_rcap
 0% [ 0 ]
Diablo 2
get point by name I_vote_lcap0%get point by name I_vote_rcap
 0% [ 0 ]
No games at all
get point by name I_vote_lcap10%get point by name I_vote_rcap
 10% [ 3 ]
Other game not listed
get point by name I_vote_lcap10%get point by name I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

Share
 

 get point by name

Go down 
AuthorMessage
cdkid
Recruit
Recruit
cdkid


get point by name Empty
PostSubject: get point by name   get point by name I_icon_minitimeSun 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
Pat1487


get point by name Empty
PostSubject: Re: get point by name   get point by name I_icon_minitimeSun 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
cdkid


get point by name Empty
PostSubject: Re: get point by name   get point by name I_icon_minitimeSun 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
Pat1487


get point by name Empty
PostSubject: Re: get point by name   get point by name I_icon_minitimeSun 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
cdkid


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

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




get point by name Empty
PostSubject: Re: get point by name   get point by name I_icon_minitime

Back to top Go down
 
get point by name
Back to top 
Page 1 of 1
 Similar topics
-
» Talon Fighter, Point Dread & Teela
» Toonstruck 2 will be released if you want it bad enough!
» Looking for a game i played in the 90's
» Rare Points
» SD Gundam Capsule Fighter

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