
Posts
541
Respect
93Add +1
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
make it like this : Code SnippetPlaintextpreCacheMyFX()
{
level._effect["weapon_glow"] = loadfx("weapon_glow"); [color=red] //this line had the error[/color]
}
main()
{
level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
// Must Change These To Your Maps
level.DLC3.createArt = maps\createart\nazi_zombie_undead_town_art::main;
level.DLC3.createFX = maps\createfx\nazi_zombie_undead_town_fx::main;
level.DLC3.myFX = ::preCacheMyFX;
}
ok thanks will do
preCacheMyFX()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
precacheWeaponGlow()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
}
weapon_glows = GetEntArray( "weapon_upgrade", "targetname" );
array_thread(weapon_glows,::glow_weapons);
/*--------------------
ZOMBIE MODE
----------------------*/
[[level.DLC3.weapons]]();
[[level.DLC3.powerUps]]();
maps\_zombiemode::main();
/*--------------------
Weapon Glow
----------------------*/
weapon_glows = GetEntArray( "weapon_upgrade", "targetname" );
array_thread(weapon_glows,::glow_weapons);
/*--------------------
FUNCTION CALLS - POST _Load
----------------------*/
level.zone_manager_init_func = ::dlc3_zone_init;
level thread DLC3_threadCalls2();
}
glow_weapons()
{
self.tag_origin = spawn("script_model",self.origin);
self.tag_origin setmodel("tag_origin");
playfxontag(level._effect["weapon_glow"],self.tag_origin,"tag_origin");
}
download link seems to be broken.