Hey, I'm trying to make a stealth map but I can't really pass the concept stages since I want to make the abilities in the Data editor mostly... I could make it all with triggers but it would be fun to learn the new Data editor.
What I want to do is when a unit gets scared enough then it acquires a certain behaviour. My idea is to somehow make a "Scared behaviour" that will apply itself and when you have enough instances of that behaviour, then it should trigger a certain effect/apply another behaviour.
In the end I will have some basic parameters for the "Guard units", such as "Scared", "Threath", "Safety". A scared unit will have a good chance of panicing especially if the threath is high. High threath and low safety will make the unit go for reinforcements (seek other units until the safety count gets high). High threath and high safety will make the unit chase the "Stealth unit = your hero" if they have him in sight, alternatively they will search for your unit until the threath wears off. With low threath, high safety and low scared they will just guard their original positions. I thought of having these basic parameters as some sort of auras, meaning that a guard unit with high threath will spread it to nearby guard units, and the more guard units together the higher their safety count will be.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, I'm trying to make a stealth map but I can't really pass the concept stages since I want to make the abilities in the Data editor mostly... I could make it all with triggers but it would be fun to learn the new Data editor.
What I want to do is when a unit gets scared enough then it acquires a certain behaviour. My idea is to somehow make a "Scared behaviour" that will apply itself and when you have enough instances of that behaviour, then it should trigger a certain effect/apply another behaviour.
In the end I will have some basic parameters for the "Guard units", such as "Scared", "Threath", "Safety". A scared unit will have a good chance of panicing especially if the threath is high. High threath and low safety will make the unit go for reinforcements (seek other units until the safety count gets high). High threath and high safety will make the unit chase the "Stealth unit = your hero" if they have him in sight, alternatively they will search for your unit until the threath wears off. With low threath, high safety and low scared they will just guard their original positions. I thought of having these basic parameters as some sort of auras, meaning that a guard unit with high threath will spread it to nearby guard units, and the more guard units together the higher their safety count will be.