Need script to clear fire from players
Posted: Fri Jul 22, 2016 9:13 pm
Need script to clear fire from players and bots, but preferably not from objects. It would be triggered with an area trigger. Thanks for help.
- official home of Superfighters Deluxe!
https://www.mythologicinteractiveforums.com/
https://www.mythologicinteractiveforums.com/viewtopic.php?f=33&t=823
With this, only players and bots who enter in a trigger with ClearFire written in On Enter Method will be cleared:Kawabanga wrote:Need script to clear fire from players and bots, but preferably not from objects. It would be triggered with an area trigger. Thanks for help.
Code: Select all
public void ClearFire(TriggerArgs args){
if(args.Sender is IPlayer){
IPlayer pl=(IPlayer)args.Sender;
pl.ClearFire();
}
}