Modme Forums

Fire/effect on screen

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: mathfag
How does on get the fire effect on screen like when the panzer flames you or an ice effect like when you go in the water in COTD.

Is it a HUD thing or a line of code?


ModmeBot:

Reply By: natesmithzombies
In _burnplayer.gsc there is a function:

function SetPlayerBurning( duration, interval, damagePerInterval, attacker, weapon )
you need to include teh _burnplayer.gsc in your script and then call that function with whatever parameters you would like


ModmeBot:

Reply By: Abnormal202

natesmithzombies
In _burnplayer.gsc there is a function: function SetPlayerBurning( duration, interval, damagePerInterval, attacker, weapon ) you need to include teh _burnplayer.gsc in your script and then call that function with whatever parameters you would like

Is it true? Hath NSZ returned?


ModmeBot:

Reply By: natesmithzombies

Abnormal202
natesmithzombies In _burnplayer.gsc there is a function: function SetPlayerBurning( duration, interval, damagePerInterval, attacker, weapon ) you need to include teh _burnplayer.gsc in your script and then call that function with whatever parameters you would like Is it true? Hath NSZ returned?

Not entirely true yet. Just had a bit extra free time the past few days


ModmeBot:

Reply By: mathfag
Thanks bro. Works


ModmeBot:

Reply By: Symbo

Can someone explain to me more precisely what needs to be done?
Because I added _burnplayer.gsc in my script, then tried different way to call SetPlayerBurning, without success.
Thanks


ModmeBot:

Reply By: ZoekMeMaar
if you only want the effect itself!

Thanks to harry bo21!

self clientfield::set( "burn", 1  );//on
self clientfield::set( "burn", 0  );//off
or add a damage by calling this function!
self DoDamage( 20, player.origin);//player gets damage