This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
Need script to clear fire from players
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Kawabanga
- Superfighter

- Posts: 69
- Joined: Sat Mar 19, 2016 10:36 pm
- Title: Epic fails amateur.
- SFD Alias: My name is Kawa-bbanggza!!
- Started SFD: Late 2015
- Location: Poland
- Gender:
Need script to clear fire from players
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.
0 x
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27
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();
}
}
0 x