Mission Editors Guide, Your source for usefull code-bits |
Mission Editors Guide, Your source for usefull code-bits |
Nov 20 2008, 22:58
Post
#21
|
|
Member Group: User Banned Posts: 55 Joined: 8-June 08 From: Allendale, New Jersey, U.S. Member No.: 3,345 |
what is the code to time something to be destroyed?
-------------------- Du
Du hast Du HAST MIHSCK!!!!! -Rammestein |
|
|
Nov 27 2008, 23:59
Post
#22
|
|
ArmA.info Sarcasm Society's Slightly Mad Scotsman Group: Former .info Serviceman Posts: 718 Joined: 28-September 07 From: Glasgow, UK Member No.: 1,331 |
in a script? It'd be
CODE _dVehicle = _this select 0 _dTime = _this select 1 ~_dTime _vehicle setDammage 1 exit run with the line: [This,5] exec "scriptname" 5 can be replaced with the time delay before its destroyed -------------------- Never before in the history of man, was so much buggered up by so few.
|
|
|
Lo-Fi Version | Time is now: 25th April 2024 - 18:25 |