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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: IlyaSnopchenko, Roy, jun3hong