OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: CopyrightPhilly on 30 Aug 2004, 20:47:15

Title: MP Anti-Lag Scipt
Post by: CopyrightPhilly on 30 Aug 2004, 20:47:15
Very Basic Script To Reduce Lag In MP Games, It will cheak if a unit is AI or not and if it dose then it will delete it (this works also if the player quits) and it will delete any dead bodys/vehicles.

usage, unit init:
[this,20] exec "Anti-Lag.sqs"

20 is for how long it will wait untill the ai/body will stay before it gets removed (in seconds)

if you want the ai/bodys to be deleted as soon as the unit turns into AI or dies then just u dont need to enter and number.

Please report any ideas/feedback

cheers, Philly

edit: helps if i give u the file :)