Dynamic fog & PlayWAV question
PostPosted: 06 Jun 2016, 10:09
I've started scripting since last weekend and had fun making dynamic fog
Not sure if it's something common, as if (many) others already made it before. But it's one of the features which I've personally always missed at KaM. It also clears the fog of your allies and each unit/building has his own specific view range.
(No idea if the weblink to the .gif is loading propely... if not, here is a direct link: http://i.imgur.com/MmNy8tZ.gifv )
About my PlayWAV question, I couldn't figure out how to propely make us of the function. As it states it requires both a file name and a string. What's the string used for?
As example: Actions.PlayWAV(-1, map_name.sound1.wav, 'random text', 1);
Not sure if it's something common, as if (many) others already made it before. But it's one of the features which I've personally always missed at KaM. It also clears the fog of your allies and each unit/building has his own specific view range.
(No idea if the weblink to the .gif is loading propely... if not, here is a direct link: http://i.imgur.com/MmNy8tZ.gifv )
About my PlayWAV question, I couldn't figure out how to propely make us of the function. As it states it requires both a file name and a string. What's the string used for?
As example: Actions.PlayWAV(-1, map_name.sound1.wav, 'random text', 1);