Found in code: TerrainLightSource, supports only: INotifyAddedToWorld, INotifyRemovedFromWorld.
Need to add interface INotifyCenterPositionChanged with cell update.
Tomorrow I`ll think about it.
Search found 2 matches
- Thu Mar 12, 2026 9:27 pm
- Forum: Mapping and Modding
- Topic: Moving light glow around unit
- Replies: 1
- Views: 245
- Thu Mar 12, 2026 7:23 pm
- Forum: Mapping and Modding
- Topic: Moving light glow around unit
- Replies: 1
- Views: 245
Moving light glow around unit
Hi,
Is it possible to make a spotlight follow a moving unit?
I tried to use TerrainLightSource with soldier, but light spot is not moving, it only appears on unit spawn.
Is there any workarouds in yaml to make it possible?
Is it possible to make a spotlight follow a moving unit?
I tried to use TerrainLightSource with soldier, but light spot is not moving, it only appears on unit spawn.
Is there any workarouds in yaml to make it possible?