OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: stuartf on 13 Jul 2004, 13:58:33

Title: how do i create an entire group and delete dead guys to stop lag?
Post by: stuartf on 13 Jul 2004, 13:58:33
two things please:

i'm making a mission where i need a constant stream of bad guys heading to my good guys' positions.

there will also be a lot of killing done.

so if i don't createvehicles and deletevehicles, there's going to be a hell of a lot of lag.

so i need 2 scripts:

1. to make a group of enemies teleport into the map unseen and then head to a waypoint (this needs to be on a loop so they keep coming when the group in front are dead)

2. to delete dead units after a certain time period eg. 2 mins.

can anyone hayelp please?