Math
Aug 7 2008, 4:07 am
By: Morphling  

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



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.



None.

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



Have you read this article?

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



None.

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



I've seen this, but I would like to see it in trigger form not in paragraph form.



None.

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



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)



None.

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



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/



None.

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



Or lethal can whip out some sample maps..



None.

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



Those weren't created by lethal :P.



None.

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



Nope. I found them all in the DLDB.



None.

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



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



None.

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



The good ones do.




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



That's what the search button is for ^^.



None.

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



In other words, there's no easy way to do it, you have to basically brute-force in any divisor you need.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: Zakerozi, DarkenedFantasies