OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 03 Apr 2004, 15:59:50
-
Hi All
OK 1st - I Need To Make An Object Hiden
2ed - I Need To Make An Object Start In The Air
They Both Need To Be Entred Into My SQS File So I Cant Use The Editor As They Arnt On The Map Untill The Player Choses.
I'll Be Gratefull In Any Advice
Cheers, Philly
-
ok heres my code:
===============================================
_obj = _this select 0
_vehicle = ["AAA131"]
_type = 0
_x=(getMarkerpos "montignacMKR") select 0
_y=(getMarkerpos "montignacMKR") select 1
_z = 0
_shell = "TimeBomb" CamCreate [_x, _y, _z]
_shell = "TimeBomb" CamCreate [_x+20, _y, _z]
_shell = "TimeBomb" CamCreate [_x, _y+20, _z]
_shell = "TimeBomb" CamCreate [_x+20, _y+20, _z]
_shell = "TimeBomb" CamCreate [_x-20, _y, _z]
_shell = "TimeBomb" CamCreate [_x, _y-20, _z]
_shell = "TimeBomb" CamCreate [_x-20, _y-20, _z]
_shell = "TimeBomb" CamCreate [_x, _y, _z]
_shell = "TimeBomb" CamCreate [_x, _y, _z]
_shell = "TimeBomb" CamCreate [_x, _y, _z]
_obj = _vehicle select _type createVehicle [_x, _y, _z]
exit
=================================================
Now I Want It To Hide The Timebombs but for them to still work and i want the vehicle to start in the air... the vehicle is only a rocket