-
i got this script from someone and i don't understand where to put the stuff.
; A small script that will blowup a vehicle as soon as a specific unit gets into it
; Get the unit which will be affected
_Unit = _this select 0
; Get the vehicle which will be affected
_Vehicle = _this select 1
; Main loop
#Update
; Check is the unit is in the vehicle
? (_Unit in _Vehicle) && (speed _Vehicle > 5) : goto "BlowUp"
; Wait 2 seconds
~2
goto "Update"
; The unit must be in the vehicle
#BlowUp
; Wait 5 seconds before blowing this up
~5
; Destroy the vehicle
_Vehicle setdammage 1
exit
i understand how to use init boxes and everything but he didn't explain very well where to put them. if u understand can u jelp out plz.
-
Sep 17 2001, 00:41
#2
take this script and put it in the folder the mission is in.
opf/user/yourname/missions/missionname
-
this script of bomb car is not reallistic at all ... it will result the car to deform and to have his crew killed...
but it won t show any explosion..
the better is to camcreate a 125SHELL at the car position and then to put setdammage 1
to the car...
will look a hell more realistic.
-
The script is already compiled Rob, just activate it with:
[unitname,vehiclename] exec "script.sqs"
It says that the vehicle has to go over 5MPH to explode and
that the unit has to be in the vehicle.
-
I somehow don't think he needs that info anymore (four month old thread).
-
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Damage Inc @ Jan. 19 2002,17:57)</td></tr><tr><td id="QUOTE">I somehow don't think he needs that info anymore (four month old thread).[/QUOTE]<span id='postcolor'>
D'oh!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules