Hi! Another interesting problem. I want to test if at least one of my objects meets a condition, for example "Alt Value A = 2" but, i want that code to be able to activate when at least one of them meets it... THEN deactivate when none of them meet it.
At the moment, the easy coding way of doing it:
If AA of Object = 2 THEN Do Stuff
If AA of Object != 2 THEN Don't Do Stuff
This doesn't work, because there is always going to be objects that don't meet the command. Also, I can't localise it down to a specific object, because the action that needs to be performed is fading through to a different song on that command, then fading back when it is no longer true.
HELP?!
--------------------------
Current Projects:
+
+ S#32
+ Ricky Runfast!
+ The GameStormers (YouTube Channel)
+ Final Fart! (Board Game)
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
25th November, 2010 at 01:20:07 -
Always set Global Value A to 0
If AA of Object = 2 then Global Value A = 1
If Global Value A = 1 then Do Stuff.
If you put the events in that order, then Global Value A will hold "1" if one or more objects meet the condition, and "0" if no objects meet the condition. If you need to know the specific object which triggered the Global Value A to = 1, then instead of setting it to 1, set it to the fixed ID of the object.
The event triggers once every time only one of the objects meets the condition (flag 0 is on/object is red)
Edited by GamesterXIII
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
25th November, 2010 at 01:26:45 -
GamesterXIII - Hi Your example does work as you mentioned. However I've modified it with the code that I just described. Mine is a bit more easy to read I think.
Haha, Assault Andy, I spent a few more minutes at it and came to the same result that you just described, lol. Just came on now, read that and laughed. We think alike!
--------------------------
Current Projects:
+
+ S#32
+ Ricky Runfast!
+ The GameStormers (YouTube Channel)
+ Final Fart! (Board Game)
Sorry to also jump off topic, but I'm going to have to say it's not offensive. Hitler, his staff and population control techniques are what killed all those people during WWII, not the symbol or his mustache. The symbol itself had a different meaning before hand, and is only a tool of identifying ones self during that time period. That would be the equivalent of saying John Wayne Gacy identifies himself by shaking hands, therefore, shaking hands makes you a child molester and serial killer. It's the kind of behavior that leads to people going "he's wearing a turban, therefore he is a terrorist." If you want to choose to be ignorant and associate the wrong thing with something, then that should be your own problem. If Gamester had a picture up of "Mein Kampf" and his title said "this is my bible" then it might be a little offensive, even then it's only an issue when he starts trying to kill of everyone different than him, in that case he only needs the Christian bible to justify that mistake.
/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/
That Really Hot Chick
now on the Xbox Live Marketplace!
Originally Posted by HorrendousGames Sorry to also jump off topic, but I'm going to have to say it's not offensive. Hitler, his staff and population control techniques are what killed all those people during WWII, not the symbol or his mustache. The symbol itself had a different meaning before hand, and is only a tool of identifying ones self during that time period. That would be the equivalent of saying John Wayne Gacy identifies himself by shaking hands, therefore, shaking hands makes you a child molester and serial killer. It's the kind of behavior that leads to people going "he's wearing a turban, therefore he is a terrorist." If you want to choose to be ignorant and associate the wrong thing with something, then that should be your own problem. If Gamester had a picture up of "Mein Kampf" and his title said "this is my bible" then it might be a little offensive, even then it's only an issue when he starts trying to kill of everyone different than him, in that case he only needs the Christian bible to justify that mistake.
(Just gonna help you get your dignity back a bit)
The swastika (or sun-cross, manji, wàn or whatever you want to call it) is indeed an ancient symbol of good stuff. The most common variant in europe has always been the clockwise one, in asia it's the counter-clockwise one (actually used to point out buddhist temples on maps!). Though they all have one thing in common;
THEY AREN'T CLOCWISE+TILTED+INSIDE-A-WHITE-CIRCLE-ON-RED-BACKGROUND.
That is the official symbol of Adolf Hitler's nazi party you've got there.
So if you aren't trying to express your love for Hitler's ideology, you best remove it and apologize. Though I'd love to hear you try and explain your valid reasons for using it as your avatar!
CONCLUSION: Think before you act, and do your god damn research. You two only look like idiots right now.
I don't find it that offensive, maybe someone else would, but it seems like people are forgeting that victors write history. Russians had even worse concentration camps, and they were antisemitic long before germans. Not to mention american concentration camps and well nuking a town. Nobody is even mentioning chinese civilians, and here is a nice list of both military and civilian causalties, you might get a broader picture about ww2: http://en.wikipedia.org/wiki/World_War_II_casualties
If you know a bit about history, you will be aware that hitler's ideology wasn't so different than many others at that same time.
Am not saying hitler is a great guy, he was a bad guy and an idiot, he was actually the fault why germany lost the war, most of his military decisions ruined the outcome of the war for germany. Not that that is a bad thing.
And in my opinion war is always a bad thing. Make love not war
Offensiveness is not "in the eye of the beholder", so to speak - it's all about intent to provoke and upset.
For example, I could go around calling random people "Arsenal fans". The fact that to some of those people "Arsenal fan" has positive connotations, is irrelevant. If I'm calling someone an Arsenal fan, it's because I want to offend them - because I know that to me and most people, being an Arsenal fan is a very negative thing.
I have to assume your intention with that avatar is to cause offense (or at least controversy), because I cannot see any other reason why you might choose it.
Originally Posted by Don Luciano I don't find it that offensive, maybe someone else would, but it seems like people are forgeting that victors write history. Russians had even worse concentration camps, and they were antisemitic long before germans. Not to mention american concentration camps and well nuking a town. Nobody is even mentioning chinese civilians, and here is a nice list of both military and civilian causalties, you might get a broader picture about ww2: http://en.wikipedia.org/wiki/World_War_II_casualties
If you know a bit about history, you will be aware that hitler's ideology wasn't so different than many others at that same time.
Am not saying hitler is a great guy, he was a bad guy and an idiot, he was actually the fault why germany lost the war, most of his military decisions ruined the outcome of the war for germany. Not that that is a bad thing.
And in my opinion war is always a bad thing. Make love not war
Many, MANY, people find the swastika very, VERY, offensive. I see your point, but you really are concocting dubious ways of allowing the use of Hitler's personal swastika style in the TDC forums. And I take an educated guess at that is not what you intended.