Staredit Network > Forums > SC1 Mapping Tools > Topic: ProTRG v1.1
ProTRG v1.1
Jan 10 2010, 11:13 pm
By: poiuy_qwert
Pages: < 1 3 4 5
 

Jul 25 2010, 6:08 pm Cinolt Post #81



It makes some sense, and I've verified that it does what I want. I'm assuming that this initialization will only occur once, so I don't need to delete any members of the dcList. The only other minor issue with yours is that for multiple variable assignments it needs the number of variables passed to the function. So, essentially what I'm doing is checking every possible number of variables as so:
Code
timer, vhp, posX, posY = dcList[:0]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:1]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:2]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:3]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:4]
*program doesn't catch an error, so break out of the loop*


Therefore the process is made even more easier by not having to know the number of variables being assigned.



None.

Jun 9 2018, 1:12 am EsX_Raptor Post #82



The links are dead. Could someone please redirect me?



None.

Options
Pages: < 1 3 4 5
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:13 pm]
payne -- Eventually, I did a trip in Europe too, but ended up hurting my back, which brought me back to Montreal and now I'm finishing a Bachelor in Computer Science this very semester. Leaving again for some travels in Europe in 2 weeks.
[08:12 pm]
payne -- It was a 2 years and 2 days long trip. From Montreal to Alaska, back to Montreal (to drop swap some gear that I had taken for Alaska), back to BC, down to Panama. I -did- end up taking a plane from Panama because I had encountered boats willing to give me lifts, but not to Columbia, so after 2 weeks I decided it was time to move on. Landed in Columbia by plane, and continued hitchhiking down to Argentina, and then back up to Ecuador. Then -again- I ended up taking a plane from Ecuador to New York because after 2 years, I was getting tired of it. Hitchhiked north from New York, but cops ended up giving me such a hard time I had to buy a bus ticket to get back to Montreal. :P
[08:07 pm]
payne -- lil-Inferno
lil-Inferno shouted: Didn't you have a map of the Alaska to Argentina hitchhiking trip you did, and it had markers of where interesting things happened? I'd like to see that again
unsure if it'll work, but here's a link: https://tinyurl.com/y3kzr2oj
[08:06 pm]
payne -- lil-Inferno
lil-Inferno shouted: ayy payne what up
you still exist?!
[04:51 pm]
NudeRaider -- the story about observers unloading units from medivacs :lol:
[04:45 pm]
Pr0nogo -- u
[04:41 pm]
NudeRaider -- why?
[02:13 pm]
zsnakezz -- Crambo is shit at counter strike, pass it on.
[08:53 pm]
Suicidal Insanity -- Let me know if you find anything else
[08:50 pm]
Suicidal Insanity -- And uploaded
Please log in to shout.


Members Online: Kolokol, UEDCommander, Roy, Wing Zero, Nekron, payne