Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-11-14 12:09:02 -05:00
parent 657466db0c
commit 08e84b4e71
1674 changed files with 1227255 additions and 0 deletions

44
_module/nss/goodflag.nss Normal file
View File

@@ -0,0 +1,44 @@
// this function ripped from contest of champions
void ApplyFlagEffect( object oPlayer )
{
int nTeam, nVisEffect;
effect eFlagEffect;
// nTeam = GetPlayerTeam(oPlayer);
// if ( nTeam == TEAM_BLUE )
// {
nVisEffect = VFX_DUR_FLAG_BLUE;
// }
// else if ( nTeam == TEAM_RED )
// {
// nVisEffect = VFX_DUR_FLAG_RED;
// }
// else if ( nTeam == TEAM_GOLD )
// {
// nVisEffect = VFX_DUR_FLAG_PURPLE;
// }
// else if ( nTeam == TEAM_PURPLE )
// {
// nVisEffect = VFX_DUR_FLAG_GOLD;
// }
eFlagEffect = EffectVisualEffect(nVisEffect);
eFlagEffect = SupernaturalEffect(eFlagEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT,eFlagEffect,oPlayer);
PlaySound("as_mg_telepout1");
}
void main()
{
ApplyFlagEffect(GetPCSpeaker());
}