Ok i want to create rail gun ability, its beam that goes thru whole map damaging every single unit in its way, but i want this beam be on ur cliff level, so if u staying on level 1 rail gun visual and effect goes only on this level, if u staying higher u it runs higher level, so if u shoot thru higher cliffs, visual goes thru cliff and you cant see this beam. And if you staying on level higher, beam goes above. Anyone have idea how to get this done?
for the visual, create a dummy unit with height modifier buff (modifiy the hieght with catalogs if possible) to be on the exact same height (cliff lvl as real + unit height) and then cast the real thing towards this dummy.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Ok i want to create rail gun ability, its beam that goes thru whole map damaging every single unit in its way, but i want this beam be on ur cliff level, so if u staying on level 1 rail gun visual and effect goes only on this level, if u staying higher u it runs higher level, so if u shoot thru higher cliffs, visual goes thru cliff and you cant see this beam. And if you staying on level higher, beam goes above. Anyone have idea how to get this done?
for the visual, create a dummy unit with height modifier buff (modifiy the hieght with catalogs if possible) to be on the exact same height (cliff lvl as real + unit height) and then cast the real thing towards this dummy.