I am having troubles getting an object called Aware1 show up if a different object’s property called “Awareness” is equal to or less than 5. The Bot basically just walks around and I have several things set up so incase the Bot spots a dead body and several other things it increases its Awareness.
Here is what I got for logic bricks on my object Aware1…
Always----------------------------AND-----Edit obj–>trackto camera
Property Visible =1------------AND------Visibility = Invisible
Property Visible =2------------AND------Visiblility=Visible
Property Visible =3------------AND------Assign–>Visible->3
Then on my bot that i have patrolling around i have…
ALWAYS-----Exp:IF(Awareness<=5)-----Connects to object Aware1–Property Add Visible–>1
http://www.4shared.com/file/33488465/a1f145e6/_2__gaurd.html
Maybe that is to confusing, here is a blend file if you need it… (note, I temporarily disconnected the Health bar and other things so just ignore those for now, I just want the awareness things to show up at different spots in his awareness level.
So,
If Awareness <=5 then green dot
If Awareness <8>5 then yellow dot
If Awareness>=10 then red dot
also, I want the awareness to degenerate by 1 ever minute, how can i use the timer property to do this?