Search found 2 matches

by sperepex
Thu Mar 12, 2026 9:27 pm
Forum: Mapping and Modding
Topic: Moving light glow around unit
Replies: 1
Views: 245

Re: Moving light glow around unit

Found in code: TerrainLightSource, supports only: INotifyAddedToWorld, INotifyRemovedFromWorld.
Need to add interface INotifyCenterPositionChanged with cell update.


Tomorrow I`ll think about it.
by sperepex
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?