CastToObject

Cast spell SpellName to Object with ID ObjectID List of default spells names you can find in Cast

Pascal

function CastToObject( SpellName : String; ObjectID : Cardinal ): Boolean

Python

CastToObject(SpellName, ObjID)

Example Python

Cast("Heal", Self())