|
Anvil
|
Called when Spell has been casted on NwPlaceable. More...
Inheritance diagram for Anvil.API.Events.PlaceableEvents.OnSpellCastAt:
Collaboration diagram for Anvil.API.Events.PlaceableEvents.OnSpellCastAt:Static Public Member Functions | |
| static void | Signal (NwObject caster, NwPlaceable target, NwSpell spell, bool harmful=true) |
Properties | |
| NwGameObject? | Caster = NWScript.GetLastSpellCaster().ToNwObject<NwGameObject>() [get] |
| Gets the NwGameObject who cast Spell (NwCreature, NwPlaceable, NwDoor). Returns null from an NwAreaOfEffect. | |
| bool | Harmful = NWScript.GetLastSpellHarmful().ToBool() [get] |
| Gets a value indicating whether this spell is considered harmful. | |
| NwPlaceable | Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get] |
| Gets the NwPlaceable targeted by this spell. | |
| NwSpell | Spell = NwSpell.FromSpellId(NWScript.GetLastSpell())! [get] |
| Gets the Spell that was cast. | |
Properties inherited from Anvil.API.Events.IEvent | |
Called when Spell has been casted on NwPlaceable.