what does the -40 stand for or the -0.2 and what does _position select 0 and 1? Does it stand for setDir and setPos?
And a other question is does someone know how i can setup a Vehicle init? For example i want that UralWrecks or HelicopterWrecks are burning when they spawn at a mission.
I thought on this: _baserunover setVehicleInit "BIS_Effects_Burn = compile preprocessFile ""\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf""; nul = [this, 5, time, false, false] spawn BIS_Effects_Burn;";
Question
CR4NK
Hi, i would like to creat new missions for WAI but there's a probelem i don't know what the _position select parts mean:
_baserunover0 = createVehicle ["MAP_fort_bagfence_corner",[(_position select 0) - 40, (_position select 1),-0.2],[], 0, "CAN_COLLIDE"];
exactly this part: [(_position select 0) - 40, (_position select 1),-0.2]
what does the -40 stand for or the -0.2 and what does _position select 0 and 1? Does it stand for setDir and setPos?
And a other question is does someone know how i can setup a Vehicle init? For example i want that UralWrecks or HelicopterWrecks are burning when they spawn at a mission.
I thought on this: _baserunover setVehicleInit "BIS_Effects_Burn = compile preprocessFile ""\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf""; nul = [this, 5, time, false, false] spawn BIS_Effects_Burn;";
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now