Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Only show a message when interacting with a note and when interacting again show it
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
Only show a message when interacting with a note and when interacting again show it

when the player interacts with the note only the message shows up. and only when he interacts with it again, the message will show.

how can i do that? i already tried to disable interaction but as i expected i can interact with it at all.

When you are looking for someone, to do the scripting for your Custom Story, ask me!
02-12-2013, 07:04 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
Bug  re: u could use a sign area

u could use a sign area
it displays a message and by code you can add an interaction callback

02-12-2013, 08:03 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: ...

Amn's suggestion is a good one, since you can disable and re-enable sign areas very easily.

You can also use the SetMessage, which gives can be triggered when the player clicks on the object and can have a duration to display its message for, while sign areas show their message as long as the player looks at them.

The best choice depends on what exactly is going on in your game.

02-12-2013, 08:42 PM
Find




Users browsing this thread: 2 Guest(s)