Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Math

Creator: Morphling
Time: Aug 7 2008, 4:07 am

Post #1     Morphling Aug 7 2008, 4:07 am

[Avatar]
 offline contact
How do you divide using triggers? I know you have to subtract both of the death counters using binary count offs or something like that, but I don't get it.
Top

Post #2     (U)MindArchon Aug 7 2008, 4:18 am

[Avatar]
 offline contact
Have you read this article?

http://www.staredit.net/wiki/Counter_Arithmetic
Top

Post #3     Morphling Aug 7 2008, 4:36 am

[Avatar]
 offline contact
I've seen this, but I would like to see it in trigger form not in paragraph form.
Top

Post #4     Kaias Aug 7 2008, 4:58 am

[Avatar]
Thats not going to happen
 offline contact
Ridiculous simplification

If deaths of Y are at least 4
Then add 1 for X
& subtract 4 for Y
(In this case we are dividing by 4) So if Y was 16, it would put the answer in X, which is 4.
There are many forms depending on what you're looking for. Note that this puts the remainder in Y.

If you want to Divide Y/X for instance instead of a known value, then it gets more complicated. I don't want to explain this though unless you actually need it (Bit lazy)
Top

Post #5     Lethal_Illusion Aug 7 2008, 5:06 am

[Avatar]
 offline contact
This map is a simple calculation map:
http://www.staredit.net/files/276/

This one has instant calculation (assuming you're doing X/Y):
http://www.staredit.net/files/592/
Top

Post #6     Kaias Aug 7 2008, 5:11 am

[Avatar]
Thats not going to happen
 offline contact
Or lethal can whip out some sample maps..
Top

Post #7     KyleIs1337 Aug 7 2008, 5:12 am

[Avatar]
I paid -54 minerals for THIS?
 offline contact
Those weren't created by lethal :P .
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

Post #8     Lethal_Illusion Aug 7 2008, 5:19 am

[Avatar]
 offline contact
Nope. I found them all in the DLDB.
Top

Post #9     Kaias Aug 7 2008, 5:22 am

[Avatar]
Thats not going to happen
 offline contact
By whipped out I mean that he produced them like a magician produces a rabbit out of a hat.

The magician doesn't birth the rabbit :)
Top

Post #10     ClansAreForGays Aug 7 2008, 5:38 am

[Avatar]
 offline contact
The good ones do.
Gerard DuGalle: "You vastly underestimate me, my dear."
Infested Kerrigan: "I don't think so, Admiral. You see, at this point... I'm pretty much the Queen Bitch of the Universe. And not all of your little soldiers or space ships will stand in my way again."
Top

Post #11     KyleIs1337 Aug 7 2008, 8:07 am

[Avatar]
I paid -54 minerals for THIS?
 offline contact
That's what the search button is for ^^ .
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

Post #12     Falkoner Aug 8 2008, 1:23 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
In other words, there's no easy way to do it, you have to basically brute-force in any divisor you need.
Top
0 members in this topic: None
+ 0 guest(s)


[11:22 am]
O)MasterJohnny -- Then why is he apologizing that he didnt handle the economic crisis that well >.>
[08:03 am]
[Echo]:] -- Bush is a smart guy.
[07:47 am]
O)MasterJohnny -- Bush is sorry about the economic crisis :D
[07:11 am]
rockz -- Bio>civil
[07:05 am]
[Echo]:] -- Did I mention civils sucks?
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions