Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Delete a unit
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Delete a unit (Read 442 times)
0 Members and 1 Guest are viewing this topic.
Killzone
Members
War is the true Enemy
Delete a unit
«
on:
12 Sep 2003, 22:16:01 »
Hello,
I was wondering, I am using the createunit command:
"bas_ranger" createunit [getpos player,group(player)]
To create unit when I need one. I was wondering is there a way I can have this unit deleted when I no longer need him (without just shooting him ;D) is there a deleteunit command and since he is created out of thin air he has no name (is there a way to name him)
Thanks in advance
Logged
"Everyone dies so deal with it and move on"
ME
rhysduk
Former Staff
Re:Delete a unit
«
Reply #1 on:
12 Sep 2003, 22:41:18 »
Check out the ED Depot for the pending version of a delete unit script - tha might help you
Rhys
Logged
Reviewed Missions Board
: Please
Read
the
User's Guide
before posting!
Pride and Joy 1 (HW100-T)
laulau
Guest
Re:Delete a unit
«
Reply #2 on:
12 Sep 2003, 23:34:26 »
just do like this:
"bas_ranger" createunit [getpos player,group (player),"ranger1 = this",1,"Private"]
ranger1 is the name of your unit.
so when you need to delete it, use this command:
deleteVehicle ranger1
Logged
Cctoide
Guest
Re:Delete a unit
«
Reply #3 on:
14 Sep 2003, 03:25:09 »
Just dump him in the sea ;D
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Delete a unit
Top of page