- Remove Unit Shadow with Triggers -

Status
Not open for further replies.
Level 10
Joined
Apr 25, 2009
Messages
293
As stated above, is there a way to remove a unit's shadow through triggers?


  • Events - Stuff
    • Conditions - Stuff
      • Actions - Create Unit
    • Custom script - call RemoveShadow(udg_LastCreatedUnit)
This system is intended for being used for actual units. This means removing the shadow for every unit and applying a dummy unit to it will be impractical and will likely cause lagg. The units begin with 100% transparency. This makes the shadow obvious. Thus, if there is a way to remove a shadow, I'll gladly welcome the idea.

I realize that you can remove shadows from units in the editor. I DO NOT WANT THAT.


Thanks.
 
Last edited:
It is possible if you use a dummy unit that always is in the unit u want to remove/add shadow to. Make your unit have no shadow and a dummy with shadow, and then make a trigger to remove / add the unit which will remove / add shadow

I thank you for your effort. I should (will) update the initial thread, as the units I'm attempting to apply this to are dummy units themselves... however, they use the units' models to create an mirror image effect.

This system would work, however, it would likely lagg due to the units being created doubled. However, +rep for effort.
 
Status
Not open for further replies.
Back
Top