• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Question in Spells

Scarlet Ayleid

Advanced OT User
Senator
Joined
Jul 7, 2007
Messages
4,049
Reaction score
240
Hey

I'm trying to do a Remote Magic Shield(Player A casts Magic Shield on Player B and if player B loses HP, he keeps his mana, while Player A loses his)
So I thought I'd use the same way as Heal Friend is made (exura sio "NAME), and then thru the name/id make the necessary registerEvents for this to happen

My question is, how to access the name of the target player?

P.S. - I know I can do this easy in talkactions, but I'd like to do it thru spells, if for nothing else, to learn how to do this :)

Thanks in advance
Scarlet Ayleid

 
Back
Top