Determining when the player casts Recall

Post » Mon Oct 17, 2011 7:06 am

I need the scripting commands for determining when the player casts Recall, either via a spell, item, or scroll. I already have a script that determines when the player casts one of the intervention spells, but I would also like to monitor for Recall. Thanks.
User avatar
Jack
 
Posts: 3483
Joined: Sat Oct 20, 2007 8:08 am

Post » Mon Oct 17, 2011 3:38 am

if ( player->GetEffect sEffectRecall )    MessageBox "Recall detected"endif

User avatar
SHAWNNA-KAY
 
Posts: 3444
Joined: Mon Dec 18, 2006 1:22 pm

Post » Mon Oct 17, 2011 5:46 am

Thanks Abot. I figured out why it wasn't working, I forgot to add in that check. :facepalm:
User avatar
:)Colleenn
 
Posts: 3461
Joined: Thu Aug 31, 2006 9:03 am


Return to III - Morrowind

cron