View Full Version : sound on grab.
Hurley
23-01-2006, 05:38 PM
using Andrew's full config,
just after a standalone script that plays a local sound (~wind2) apon flag grab.
cheers.
eskimofo
23-01-2006, 09:41 PM
yeah same, mines fucked i've forgotten code.
[edt] fixed. get your own hurley you're
gay.
eskimofo
23-01-2006, 11:20 PM
Event::Attach(eventFlagTaken, FlagGrab::notice);
function Flaggrab::notice(%flagId, %clientId, %client)
{
if(%clientId == getManagerID())
{
postAction(2048, IDACTION_VIEW,1);
schedule("postAction(2048, IDACTION_VIEW,0);", 0.25);
localMessage(death);
}
}
Event::Attach(eventFlagTaken, Taunt::FlagTaken);
eskimofo
23-01-2006, 11:46 PM
function Taunt::FlagTaken(%teamId, %clientId)
{
if(%clientId == getManagerId())
localMessage(death);
}
Event::Attach(eventFlagTaken, Taunt::FlagTaken);
Hurley
24-01-2006, 10:14 PM
all ti seems to do iis switch me to 3rd person apon grab and then back to first person.
Marv3lo
25-01-2006, 12:06 PM
use the second one he posted not the first
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.