I have an object:
obj/JagexS6Aura //Displays the obj's name
layer=MOB_LAYER-1 // Makes sure that it will apear over the mob when clicked
icon='Jagex.dmi' // The .dmi file
icon_state="S6Aura"
Which I want as an underlay, what is it called?
mob
Metavolve5
verb
Metavolve_to_Stage_6()
set category = "Attack"
if(Revert == 1)
icon_state = "S5"
usr.overlays += obj.S6Aura
Revert = 0
usr<< "You Metavolved into Level 5!"
I can't call it obj.S6Aura, so wot do I call it?
Copyright © 2025 BYOND Software.
All rights reserved.
<code>underlays+=icon('Jagex.dmi',"S6Aura")</code>
Note that I used <code>underlays</code> instead of <code>overlays</code>, in order to create an underlay.