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.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy