Jump to content

Portable Containers


blueshawk

Recommended Posts

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

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...