ERROR POSTING Open gui from inventory item click

Started by steptoe, Fri 27/01/2012 08:02:10

Previous topic - Next topic

steptoe

Hi

ERROR.. GOT DOUBLE POSTING FOR SOME REASON.

Is there a reason why inv click only works with Look/Select?

I am trying to select an inv object which opens up a gui. This works when I select Look, the gui appears. I would rather it happen when inv item is seleted.

inv=icompass
gui=gcompass

The gui compass has a close button.

Would this be acceptable if i had this and made inv  image transparant?:

Code: ags

function repeatedly_execute_always()
 {
 if (cjonesy.ActiveInventory==icompass)
 {
 gcompass.Visible=true;
 }
 }




cheers for any help



SMF spam blocked by CleanTalk