Entity Setup For This
CaLFiN
Join Date: 2002-11-04 Member: 6909Members
Ok I want to try and set up an entity system for a map I have in mind.
I want 5 buttons in the map, when they are all pressed a trigger_hurt kills the opposing team. BUT. Here is what I don't know what to do:
These buttons can be pressed by aliens OR marines, so how do I make it so that it knows aliens have pressed the buttons 5 times, or marines have, taking into acount that their could be any random amount pressed.
Hope that made sense <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
------------------
For a work around:
How do I make it so that 5 buttons pressed in any order triggers something?
Thx in advance.
I want 5 buttons in the map, when they are all pressed a trigger_hurt kills the opposing team. BUT. Here is what I don't know what to do:
These buttons can be pressed by aliens OR marines, so how do I make it so that it knows aliens have pressed the buttons 5 times, or marines have, taking into acount that their could be any random amount pressed.
Hope that made sense <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
------------------
For a work around:
How do I make it so that 5 buttons pressed in any order triggers something?
Thx in advance.
Comments
I don't know about the triggers, but wait till Ollj visits the forum again <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
Otherwise I plan to make a plugin for QuArK to easily create complex boolean equations with multiple input variables and functions. So you could set the buttons to variables A, B, C, D, E and define a function F = A & B & C & D & E that triggers your kill event <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> Then again, I haven't started this project yet... don't know if it works out. What I can tell you though is that I made two functions with 3 variables and it cost me 34 entities :/
Hint: Use env_globals as masters of a moultisource and the moultisourece as master of something else is the key to boolean stuff in Half-Life(1)
Instead of having 5 buttons between marines and aliens. I could have 5 for marines and 5 for aliens? Alien's are set so marines can't use them and marine's set so aliens can't use them. Then put them next to each other like: ||
The idea of the map is a bit like siege005/6 to start off with where you build a base up. Then when the doors open you have to press 5 buttons (placed around the map) to launch a nuke which kills the opposing team. Can anybody thing of a work-around for my idea? From what I understand there isn't <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->