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:
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.


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

The links are dead. Could someone please redirect me?


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.
[02:24 pm]
Vrael -- :wob: :lock: :wob: :lock:
[11:37 am]
Oh_Man -- how dare you blaspheme against our sacred customs :wob:
[07:24 am]
razorback9423 -- Constant wobbing is emote spam
[07:12 am]
KrayZee -- I have discord but I'd rather use the shoutbox since I'm old fashioned that way.
[06:27 am]
NudeRaider -- GGmano
GGmano shouted: I Like this better than discord tho
you do now. But back when everyone was using it we had severe performance problems. I'm sure they'd return if people moved back.
[05:21 am]
O)FaRTy1billion[MM] -- wob is/was on discord, but you can't use animated ones unless you pay
[04:28 am]
Oh_Man -- Maybe when quantum computing comes around
[04:27 am]
Oh_Man -- The technology just isn't there yet
[01:34 am]
jjf28 -- it would be ridiculously expensive to unlock wobbing in discord tho
[01:34 am]
jjf28 -- :wob:
Please log in to shout.

Members Online: Roy, Vrael, Dem0n, C(a)HeK, uhinofyh, Faulkinghames4