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
[Help] Envy the Dead Developemt & Scripting Questions
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#18
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
Find


Messages In This Thread
RE: [Help] Envy the Dead Developemt & Scripting Questions - by plutomaniac - 03-16-2013, 12:31 AM



Users browsing this thread: 1 Guest(s)