Script help:Is it possible to check if an actor is follower?

Post » Fri Jan 16, 2015 2:33 pm

I want to add a spell to eveyone nearby but not follower, Is this possible to be done?

One more question, I can't find there is any function to check an actor's inventory. Is it possible to check what's in inventory

User avatar
Toby Green
 
Posts: 3365
Joined: Sun May 27, 2007 5:27 pm

Post » Sat Jan 17, 2015 2:47 am

http://www.creationkit.com/OpenInventory_-_Actor

or

http://www.creationkit.com/GetItemCount_-_ObjectReference

Please read the notes before you use this function.

and

Either add this to the spell condition, or the magic effect:

GetIsPlayerTeammate == 0.00

User avatar
JeSsy ArEllano
 
Posts: 3369
Joined: Fri Oct 20, 2006 10:51 am

Post » Fri Jan 16, 2015 5:08 pm

Thank you very much! That really help a lot :D

User avatar
Kayleigh Williams
 
Posts: 3397
Joined: Wed Aug 23, 2006 10:41 am


Return to V - Skyrim