Scripts / Create a LUA script lamp flashing simulation ?

Author
Message
Devcore35
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 5th Aug 2014
Location: Rouen (76) - France
Posted: 2nd Mar 2015 19:08
Hello,

I just had an idea to create a script of history with a sound, a timer and a lamp that flashes simulation but I need your help ^^
In fact I've already read a book script with image and sound in a Timer:

I removed the LUA codes with an image.


In fact I would like the player when he enters a room, it launches a sound (with timer equal to the duration of the sound) and the light flashes and it should simulate a key press "F" key.

Do you have an idea to create a script like that?

Thank you and good evening to you all!
PM

Login to post a reply

Server time is: 2024-12-21 14:57:31
Your offset time is: 2024-12-21 14:57:31