Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Read/Lift/Speak Icon Script...

Toshi

Member

Hi, I need a Script that... mhh... Let me try to explain:

Most of you know Zelda - Ocarina of time...
When your're in front of a sign and facing it, there is a "read" text on the HuD...
Now I need something like this.
If a event has a comment like "read", there should pop up a "read" text when you're in front of it and watching it, it has to disapear if you watch in another direction or move away. Also when you press "Q", it should start the eventing from the first eventpage of the "marked" comment.

So, I need it with different types of signs:

Lift: When your're in front, back, left or right of the object and facing it (comment tag: Lift)
Speak: When your'e in front of it and facing it (comment tag: speak)
Read: Same as speak (comment tag: read)
Open: Same as speak/read (comment tag: open)

As a help for the "press Q", I'll use Glitchfinder's Key Input Module v.1.10...
Would be very nice if someone could help me... :)
 
You shouldn't need a keyboard input module, unless you need other additional keys.

The default Input module refers to these keys on your keyboard:

QW
ASD
ZXC

as:

LR
XYZ
ABC

So, (Input::L) refers to the "Q" key on your keyboard.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top