Help - Search - Members - Calendar
Full Version: Portable Containers
The Nexus Forums > Specific Games > Morrowind > Morrowind Plug-Ins > TES Construction Set
blueshawk
Here are two scripts I tried together with each other

begin NE_port_cont_01

short OnPCEquip

if ( OnPCEquip == 1 )
"NE_port_chest_01"->Enable
PlaceAtPC, "NE_port_chest_01", 1, 125, 0
set OnPCEquip to 0
endif

end

AND

Begin NE_port_chest_01_act

short button
short messagex2

if (OnActivate == 1)
MessageBox"You have just unpacked your portable chest, what do you want to do?" "Open Chest" "Pack Up"
set messagex2 to 1
endif

if ( messagex2 == 1)

Set button to GetButtonPressed

if ( button == 0 )
Activate
endif

if ( button == 1 )
Disable
set messagex2 to 0
endif

endif

end



I have also tried this script:

begin NE_port_cont_02

short OnPCEquip

if ( OnPCEquip == 1 )
set OnPCEquip to 0
"NE_port_chest_01"->Activate, player
endif

end
Wookiee
just a thought you might want to try having 2 chests one real and one an activator
leave the real one on the imperial prison ship outside the main mesh then on activate of the psudo one force the activation of the rel one and play the open animation ect sound and such it makes for easy placing and cleanup as you can actualy set deleate on the item.

might help you with the limitations of scripts wink.gif
Abramul
Can you activate something in a different cell?
blueshawk
Well you see the first two scripts are used together. 1st one on a misc item, and the second one on the actual container.

The last script has the container place in a certain cell, and upon equiping misc item it activates chest.

I would like to have the first two work together, I am trying some new ideas right now.
Wookiee
yes you can activate things from diferent cells smiley.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.