Animal companion inventory

Post » Mon Jul 28, 2014 4:13 am

Hi everyone.

I would like to access my mount inventory.

How do I go about doing so. Can't remember. I try to attached a chest to my mount with the following script but it did not activate.

scn MABelleScriptbegin onActivate	if player.IsSneaking		BelleChestRef.Activate	else		activate	endifend

Basically if the player is sneaking it should activate the chest. but if not the player will activate the mount, meaning he or she will mount.

Note that the chest is a persistent ref and that it is in a different cell than the mount (in my test cell, not link to the player game). Also I have attached the mount to the chest (parent). Still this doe not work.

Should I try another method? and then which one? Thanks guys and gals

User avatar
Lawrence Armijo
 
Posts: 3446
Joined: Thu Sep 27, 2007 7:12 pm

Post » Mon Jul 28, 2014 6:43 am

Use BelleChestRef.Activate PlayerRef 1.

(btw, is is safer to use PlayerRef, instead of Player to prevent the compiler from messing up the FormIDs)

User avatar
Sarah Unwin
 
Posts: 3413
Joined: Tue Aug 01, 2006 10:31 pm


Return to IV - Oblivion