Hey, So here is the deal i have an ability that shoots a missile at the target point location. Now what i need is for the missile to create searches behind it. So missile launches straight in a line from caster unit to target point and every .1 seconds it creates a search field at the current missile point of about 1 radius created by a persistent that searches for units in that area and applies a buff that slows the unit down using timescale.
Only problem I'm having is that i cannot get the persistent to land the search where missile unit is at that time. I have used other target finds such as source unit in the launch of the missile (Effect: Missile Launch). Is this even possible to reference a missile during an ability to allow it to apply persistence and such.
@Triflin: Go Remove the persistent and add a behavior to the missile that calls the search effect as a periodic effect. Make the behavior have periods of 0.1 seconds. This way the search will always be made where the missile is.
OK so what me and my teammate have done is made 4 different missiles (it is a 4 level ability) and gave them the different levels of the behavior that has the search effect on them. Giving them the units in that search area the slow behavior.
It works great thanks guys.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, So here is the deal i have an ability that shoots a missile at the target point location. Now what i need is for the missile to create searches behind it. So missile launches straight in a line from caster unit to target point and every .1 seconds it creates a search field at the current missile point of about 1 radius created by a persistent that searches for units in that area and applies a buff that slows the unit down using timescale.
Only problem I'm having is that i cannot get the persistent to land the search where missile unit is at that time. I have used other target finds such as source unit in the launch of the missile (Effect: Missile Launch). Is this even possible to reference a missile during an ability to allow it to apply persistence and such.
@Triflin: Go Remove the persistent and add a behavior to the missile that calls the search effect as a periodic effect. Make the behavior have periods of 0.1 seconds. This way the search will always be made where the missile is.
Awesome i cant believe i didn't think of just doing that. thanks Ill try it and let you know how it goes. should work in theory though.
It does. Buffs on the ammo units are used in some systems for searching for collision for missiles that travel in a line until they hit something.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
OK so what me and my teammate have done is made 4 different missiles (it is a 4 level ability) and gave them the different levels of the behavior that has the search effect on them. Giving them the units in that search area the slow behavior.
It works great thanks guys.