Jibble

Author Topic: Question on a very lazy scripting tactique :)  (Read 292 times)

KyriakosCH

  • Posts: 946
  • Alien spiral maker
    • I can help with backgrounds
    • I can help with story design
    • I can help with translating
Question on a very lazy scripting tactique :)
« on: 13 Sep 2018, 15:06 »
Hi, I want to ask how to best make this (admittedly very lazy, but what do you expect := ) trick work:

-have inventory items be the only trigger for stuff (ie not have to use counting or other stuff)

Namely i am interested in how to make it so that the inventory items (most of them) don't show up on screen (ok, no graphic for them or their cursor) and also CANNOT be selected if clicked upon in the interface (this is what i am not sure about).

In theory i could tediously move each of them in some distant spot, and then use regions to prevent the mouse ever reaching it. But - as i already said - i am lazy. So, any other option? :D
Join the Neo-Byzantine Society; partake in high culture; click this hotspot!

Snarky

  • Global Moderator
  • Posts: 6,750
  • Private Insultant
    • I can help with proof reading
    • I can help with translating
Re: Question on a very lazy scripting tactique :)
« Reply #1 on: 13 Sep 2018, 15:08 »
If I understand what you're trying to do, you could use a dummy character for these "pseudo inventory items". This character's inventory will never be seen, but can still be accessed from the script.

KyriakosCH

  • Posts: 946
  • Alien spiral maker
    • I can help with backgrounds
    • I can help with story design
    • I can help with translating
Re: Question on a very lazy scripting tactique :)
« Reply #2 on: 13 Sep 2018, 15:10 »
If I understand what you're trying to do, you could use a dummy character for these "pseudo inventory items". This character's inventory will never be seen, but can still be accessed from the script.

Awesome idea... I will try that! :)
Join the Neo-Byzantine Society; partake in high culture; click this hotspot!

KyriakosCH

  • Posts: 946
  • Alien spiral maker
    • I can help with backgrounds
    • I can help with story design
    • I can help with translating
Re: Question on a very lazy scripting tactique :)
« Reply #3 on: 13 Sep 2018, 16:04 »
(Thanks, works great!!!)
Join the Neo-Byzantine Society; partake in high culture; click this hotspot!