Script for killing inactive player? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Script for killing inactive player? [Solved]

Post by AnthonyBF2 »

I looked hard using search but could not find what I thought I once saw.

Is there lua functions for killing a player if they are inactive for too long? Probably after 10 seconds, keep the person moving to live.

Thanks.
Last edited by AnthonyBF2 on Wed Dec 31, 2014 8:08 am, edited 1 time in total.
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: script for killing inactive player

Post by hunpeter12 »

viewtopic.php?f=27&t=12469&p=506239
The code is in the last post at the page. You might have to change it a little bit to suit your needs.
Post Reply