Staredit Network > Forums > SC2 Assistance > Topic: Behaviour help...
Behaviour help...
Oct 20 2010, 10:09 pm
By: NicholasBeige  

Oct 20 2010, 10:09 pm NicholasBeige Post #1



Yo, so I've got over my targetting system - it works perfectly.

Next up, I need a Buff that (i will apply through triggers), but it must change the 'classification' of an enemy unit. For example, it will make an enemy unit classified as Stasis : False. Therefore, my unit can attack. Because he is 'targetting' that unit. In default, my unit cannot attack Stasis units.

Any help?



None.

Oct 20 2010, 10:40 pm Billy Post #2



To ensure, you mean by class stuff like "armored, light, psionic..."? Will edit this post if I find it out :)
Or do you mean stuff like "Worker: false, no event on death: true" and the like?

I couldn't find anything, not in behaviors nor in the effects section, I guess it's impossible, though this doesn't mean anything ;)


WAIT!
I found something interesting:
do it with triggers, search for an action called like "Set status of unit-filter", I guess you can make your way through it now.

Post has been edited 2 time(s), last time on Oct 20 2010, 10:54 pm by Billy.



None.

Oct 20 2010, 11:31 pm payne Post #3

:payne:

Just a quick question: I never understood what "Stasis" status is. :/



None.

Oct 20 2010, 11:33 pm Billy Post #4



Neither do I tbh, you cannot add custom classes and attributes as well, or am I wrong? If it's possible, please tell me how to :)



None.

Oct 21 2010, 3:39 am Temp Post #5



Stasis is just a flag on the unit, like invulnerable and a bunch of other ones. Think stasis like the arbiter ability from SC1, you could not attack or use abilities on units that were under that effect.

Just like invulnerable flag it does not actually do anything on it's own though. Just like how if you remove the invulnerable filter from a weapon it can attack invulnerable All default weapons/abilities have a filter that stops them from being able to target units with this flag.

Removing stasis from a unit with a buff does not seem to be possible. My suggestion would be to not have the unit be permanently in stasis but to use a buff to put it in stasis. Then you can use a remove buff effect, or disable the buff through a validator.



None.

Nov 9 2010, 1:03 pm NicholasBeige Post #6



Hey - sort of forgot I posted this here... anyways..

Just for clarification - This is for a system in which a player can select a 'target', and by default, I want his unit to 'attack' the 'target'.

So, my initial way of thinking was to make all units 'Invulnerable' or 'In Stasis', and then change the units classification when the 'target' == that unit. So, it would create the illusion of your hero unit only attacking his current target. You can then use abilities and they would by default attack your target (if they are targetable).

I realise you cannot edit a units classification as such (Light, Armoured, Stasis, Psionic, Heroic etc)... You could do it through the Field_Set_CatalogueID function (its called something like that)...

So, my work-around had to eventually involve triggers and it just applies a buff to your target, and a debuff when you change targets.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: jun3hong