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.
[2026-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: l)ark_ssj9kevin, LoveLess