OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Manz on 07 Aug 2005, 22:35:08

Title: Script
Post by: Manz on 07 Aug 2005, 22:35:08
have anyone here a suicide script or something cause i need that for a mission....  ;)
Title: Re:Script
Post by: bedges on 08 Aug 2005, 00:11:31
the question doesn't make the circumstances clear, but if you want to kill certain unit with a script, use

Code: [Select]
unit_name setdamage 1
if you want to add fireworks, use

Code: [Select]
_boom = "shell120" camcreate [getpos unit_name select 0, getpos unit_name select 1]