The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help (again)
Nomad923 Offline
Junior Member

Posts: 46
Threads: 15
Joined: Dec 2011
Reputation: 2
#1
Script Help (again)

I have alittle function here but the sound im telling it to play isnt playing and the particle effects are not working either i think the string is wrong but im not sure what is needed.


void ActivateQuake(string &in item)
{

SetEntityActive("stone_small01_1", true);
SetEntityActive("stone_small01_2", true);
SetEntityActive("stone_small01_3", true);
SetEntityActive("stone_med01_brown_1", false);
PlayMusic("baseap.ogg", false, 0.7, 0.1, 10, false);
PlaySoundAtEntity("","general_rock_rumble", "Player", 0, true);
CreateParticleSystemAtEntity("", "ps_debris_tunnel", "dust_effect_1", false);
CreateParticleSystemAtEntity("", "ps_debris_tunnel", "dust_effect_2", false);
CreateParticleSystemAtEntity("", "ps_debris_tunnel", "dust_effect_3", false);
AddTimer("T1", 6, "Fallin");

}

Edit: ive managed to get the particles working but still no sound

[Image: qg_logo.png]
(This post was last modified: 04-13-2012, 10:43 PM by Nomad923.)
04-13-2012, 10:20 PM
Find


Messages In This Thread
Script Help (again) - by Nomad923 - 04-13-2012, 10:20 PM
RE: Script Help (again) - by nemesis567 - 04-13-2012, 10:30 PM
RE: Script Help (again) - by Nomad923 - 04-13-2012, 10:39 PM
RE: Script Help (again) - by Putmalk - 04-13-2012, 10:47 PM
RE: Script Help (again) - by nemesis567 - 04-13-2012, 11:00 PM
RE: Script Help (again) - by Putmalk - 04-13-2012, 11:22 PM



Users browsing this thread: 2 Guest(s)