Acquiring illumination
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Acquiring illumination
I made a unit acquire the illumination ability when picking up an object, and it works fine. The only problem is that the unit doesn't develop the illuminating halo, so I tried with {MODIFY_UNIT theunit halo halo.png), but just doesn't work.
The unit doesn't necessarily have a previous halo= (don't know if this is relevant)
Is halo one of the only values that can not be modified with [set_variable]?
The unit doesn't necessarily have a previous halo= (don't know if this is relevant)
Is halo one of the only values that can not be modified with [set_variable]?
That's ridiculous, dragons have no windows...
Re: Acquiring illumination
Code: Select all
[effect]
apply_to=new_animation
[standing_anim]
start_time=0
[frame]
halo=illuminatehaloimagefile.png
duration=100
[/frame]
[/standing_anim]
[/effect]