Home   Help Search Login Register  

Author Topic: Deleating peeps  (Read 784 times)

0 Members and 1 Guest are viewing this topic.

Tycus

  • Guest
Deleating peeps
« on: 25 Apr 2003, 09:35:32 »
hey there, don't yell if this has already been asked bt does anyone know how to delete guys that aren't neded anymore on maps, and if they can be respawned? and how

O Neil

  • Guest
Re:Deleating peeps
« Reply #1 on: 25 Apr 2003, 09:53:26 »
Hey

deleteVehicle tank

O Neil ;)

Sol Fire

  • Guest
Re:Deleating peeps
« Reply #2 on: 27 Apr 2003, 11:20:40 »
yes they can be Respawned AND Deleted

ok to delete do like Oneil said

use the command Deletevehicle "Name" where Name is the name of the object to be deleted

to respawn you need a Description.ext file in the mission

in the Description.ext put

Respawn = "BASE";
RespawnDelay = 0;

change BASE to the one you desire (Group: Respawn into another person in the group, Base: Respawn at Marker, Side: havnt used it before etc...)

respawndelay is how long to wait untill the person respawns obviously  :)

if you use BASE you must add Markers in the mission to show where they will respawn

if i remember right its

West:
Respawn_West

East:      
Respawn_East

Resistance:
Respawn_Guerilla

Civilian:
Respawn_Civilian

Sol Fire

  • Guest
Re:Deleating peeps
« Reply #3 on: 27 Apr 2003, 11:22:33 »
By the way Welcome to Operation Flashpoint Editing Center

unkie

  • Guest
Re:Deleating peeps
« Reply #4 on: 28 Apr 2003, 14:15:06 »
is there a way to delete dead bodies to reduce lag?

Iwesshome

  • Guest
Re:Deleating peeps
« Reply #5 on: 28 Apr 2003, 15:16:24 »
I was told this script could work... haven't gotten around to check yet

Code: [Select]
[groupname] exec "deletecheck.sqs"

_group = _this select 0
_units = units _group

#loop
?(("Alive _x" count _units) == 0): goto "remove"
~random(5) + 5
goto "loop"

#remove

~40
"deletevehicle _x" foreach _units

exit
Welcome to the Forums
IW

O Neil

  • Guest
Re:Deleating peeps
« Reply #6 on: 29 Apr 2003, 07:36:08 »
Hey

So does that delete units when they dye? just wanna know, I got  deleteunit unitname
or something like that, it's in my list somewhere, but that deletes a unit when they enter a trig or something, just wanting to know if the script deltets them when they die

O neil

PS: Long words for 1 Q aye? ;) ;) ;)

Iwesshome

  • Guest
Re:Deleating peeps
« Reply #7 on: 29 Apr 2003, 14:33:11 »
My understanding of this script which I have not tried yet was if you have the group name exec the script that when your peeps start dying that they will also delete from mission.

I could be wrong... Try it out  ;)