plutomaniac
Super Moderator
Posts: 6,368
Threads: 45
Joined: May 2011
Reputation:
183
|
RE: [Help] Envy the Dead Developemt & Scripting Questions
Hello again, two days ago I started to learn scripting. I watched all 22 videos of YourComp and got a good idea. I am currently scripting my first map.
1) I don't seem to understand how to implement a constant check. For example, when the player picks up an item show a message. In the meantime, I want to check constantly. Yes, I tried while etc (I know C).
2) How do sounds work exactly? Sometimes, unless I put the sounds very apart the second one is not being played. For example if I write the below, the second one is not heard at all. Basically I want one sound to play after the other:
PlayGuiSound("sound1", 1);
PlayGuiSound("sound2", 1); //I also tried PlayMusic function, same result
3) Does PreloadSound help with something like performance etc...?
(This post was last modified: 03-16-2013, 12:48 AM by plutomaniac.)
|
|
03-16-2013, 12:31 AM |
|