I know what am about to ask is some where scattered here in the forums but please bare with me almost my first chapter of this game is completed as a map design and level.. just some events left i need scripts for them to happen..
i hope i don't bother any one here but here is what i want. i know this isn't a request script thread .. but if it's possible to help me that would be nice
.
1- I need a script when the player enter a trigger zone the (X) npc spawns dead instantly like the npc spawns normaly but then dies . i tried to excute this by my self but ended up for 2 hours with errors.
2- i want when approach a certain NPC to get prompted with press E to talk to (X) when i talk a simple text appears i just want 3 phrases i don't want any thing complicated, i tryed Small GG notesprite but it makes my game crash with error 501
i tried to combine things like If GetPlayerDistance < 100
Prompt "Press E to talk"
but i then realized .. i don't know how to say make text appear , or how to even start my script so i ended up asking for this too.
3- If it's possible upon entering a certain Place or picking a certain object a few enemies spawn.
4- a question about sounds, where do people get all those different sounds, Like jumpscares (scream) , Scary music..
I don't know where is the source cause i need few screams for jumpscares.
5- Also how can i make a certain music playing with another.
Ex : the player spawned so the whole level is now running ( Scary music) which is like a church or something .. and while the player is walking he stepped on music zone which sets on a( record) of some one speaking .. like omg this place sucks .. how do i make those two work with out stopping the scary music with the record.
6- Last thing how do i make same request as 2 but for objects .. where the player go to object and presses E near a chair and gets ( That is a chair *Press E to close)
i hope i don't ask for much and i really sorry if i bother any one but i really hit a wall while working on the game and my experience in lua is dead .. am trying to improve it .. i memorized alot of variables and commands .. but really have no idea how to put them all together in one page. so am learning from the provided scripts from you guys and the game.. but having a hard time.