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.
[04:12 pm]
lil-Inferno -- ya
[2020-5-25. : 5:32 am]
Ultraviolet -- :teach: *
[2020-5-25. : 5:32 am]
Ultraviolet -- lil-Inferno
lil-Inferno shouted: ya, if the person I found is actually him lmao
creep :prof:
[2020-5-24. : 10:31 pm]
lil-Inferno -- ya, if the person I found is actually him lmao
[2020-5-24. : 5:06 pm]
Voyager7456 -- lil-Inferno
lil-Inferno shouted: youarenotworthy Are you thinking of Tuxlar? I don't remember anyone else who ever made map trailers
isn't he literally a professor now too?
[2020-5-24. : 1:17 pm]
Zycorax -- Is it possible that he went by Professor Tuxlar or something for a brief period?
[2020-5-23. : 10:38 am]
NudeRaider -- youarenotworthy
youarenotworthy shouted: Regarding the other user I'm looking for, I know he was a member of this community but was more involved with the other main map making community at the time (I cant remember what it was called... MM?) but just wondering if anybody remembers him.. Professor something. I don't remember any of his projects.
that's all we got http://www.staredit.net/site/members/1328/name/asc/
[2020-5-22. : 6:34 pm]
Vrael -- yeah I can't remember any professor usernames either sry :(
[2020-5-22. : 3:58 pm]
Oh_Man -- I made some youtube vids for my map
[2020-5-22. : 2:22 pm]
lil-Inferno -- I can't think of anyone who went by Professor either
Please log in to shout.


Members Online: Roy, DaMnUFo0, IlyaSnopchenko