#✅ | image load requirement

1 messages · Page 1 of 1 (latest)

umbral solar
#

its possible if spiffy can show a image only if the player is looking at specific entity

buoyant jacinthBOT
# umbral solar its possible if spiffy can show a image only if the player is looking at specifi...

You can do that by using a listener to expose the entity the player is looking at, then gating the image with a loading requirement.

  1. Create a listener via Menu Bar → Customization → Manage Listeners (remember you must not be in-editor) using “On Start Looking At Entity”.
  2. In its action script, use Set Variable Value to store $$entity_key (from the listener’s variables) in a FancyMenu variable like looking_entity.
  3. In your HUD layout, add the image and give it an Is Variable Value loading requirement that checks if looking_entity equals the specific entity key you care about.

That way the image only loads once you look at that exact entity. For more details on listeners and variables see the Listeners doc and the Variables doc.

buoyant jacinthBOT
#

✅ | image load requirement