Posts
195
Respect
35Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
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!![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
spawn fx!
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
if(self IsTouching(level._firetriggers) && !isDefined(self.on_fire))
if(self IsTouching(level._firetriggers[i]) && !isDefined(self.on_fire))
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
well i have the fire fx working, it just doesnt interact with the environment. let me go implement the code you gave me ill be right back
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
no dice...id actually had that changed in the script from before i just posted the original backup script..is is because im using an info volume instead of a trigger?
prints?
iprintln("everything is ok");
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Init(){
flame_triggers = GetEntArray("flame_triggers", "targetname");
array_thread(flame_triggers,::FlameTrigger);
}
FlameTrigger(){
while(1){
self waittill("trigger", ent);
if(!isdefined(ent.flamedamage) || ent.flamedamage == false){
ent thread SetFire();
}
wait .05;
}
}
SetFire()
FireDamage = 20;
self.flamedamage = true;
if(self isPlayer() && self.health<=FireDamage){
if(!isdefined(self.revivetrigger)){
//RadiusDamage
}
}else{
//Dodamage
}
self thread HandleFire();//stay on fire for a little after damage
wait .5;// damage every .5 seconds
self.flamedamage = undefined;
}
HandleFire(){
self endon("death");
self notify("putout");
self endon("putout");
self.is_on_fire = true;
wait 3;//how long to be on fire for
self.is_on_fire = false;
}