Is there an easy way to determine whether a npc hit by a spell is a person vs something like a dragon or horse?

Detecting whether a npc is a person or a creature
Started by
greyday01
, Mar 18 2023 07:14 pm
1 reply to this topic
#1
Posted 18 March 2023 - 07:14 pm

#2
Posted 18 March 2023 - 08:29 pm

You can add conditions to your spell's magic effect, such as:
GetIsRace
HasKeyword
But if you want to obtain the npc and then do something to it, then you need a script in the 'magic effect'. You can use again one of these or both.
Edited by maxarturo, 18 March 2023 - 08:29 pm.
IPB skins by Skinbox
