Hi. I have problem with transparent unit.
All what i want is: When unit enter the region, unit become transparet and when he leaves the region he will become normal.
I know how to make unit transparent by actor but i dont know how to make that what i wrote.
Can someone help me?
Event: Unit enters region -> Send actor message (Set opacity) to triggering unit's main actor
€ oh, this is in data forums? I thought you were referring to trigger regions.
In data, the only way I know of to define a region on the map is placing a unit/doodad/whatever has an actor. Then the easiest method would probably be to make that unit apply a behavior on nearby units and use an actor to react to this behavior. This only works with a unit, since actors by themselves cannot apply a behavior.
There is also a more complicated method involving Region and Query Response actors to make an actor send actor messages to all actors in an area, this is used for the Hellion, for example, to burn trees he hits with his attack. This would work with any type of actor, not just with a unit.
But honestly, using a trigger might be way easier here.
Hi. I have problem with transparent unit. All what i want is: When unit enter the region, unit become transparet and when he leaves the region he will become normal. I know how to make unit transparent by actor but i dont know how to make that what i wrote. Can someone help me?
Event: Unit enters region -> Send actor message (Set opacity) to triggering unit's main actor
€ oh, this is in data forums? I thought you were referring to trigger regions.
In data, the only way I know of to define a region on the map is placing a unit/doodad/whatever has an actor. Then the easiest method would probably be to make that unit apply a behavior on nearby units and use an actor to react to this behavior. This only works with a unit, since actors by themselves cannot apply a behavior.
There is also a more complicated method involving Region and Query Response actors to make an actor send actor messages to all actors in an area, this is used for the Hellion, for example, to burn trees he hits with his attack. This would work with any type of actor, not just with a unit.
But honestly, using a trigger might be way easier here.
@Kueken531: Go
Thanks that help a lot