IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
2 Pages V  < 1 2  
Reply to this topicStart new topic
> Mission Editors Guide, Your source for usefull code-bits
gearofwar123
post Nov 20 2008, 22:58
Post #21


Member
Group Icon

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
 
Quote Post
Toadball
post 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.
 
Quote Post

2 Pages V  < 1 2
Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd July 2018 - 09:22