_patrol is already used but in the examples, I apparently only put it in one of the examples though. I've updated the examples to reflect that. Since many missions uses vehicles as scenery and declares a _veh or a _veh1, you may be better off using _patrol as the variable. I haven't tested this yet, but these were two of the obvious errors that stuck out at me. Using the example for the minor mission SM1, it should look like this: Second, you need to make sure that _veh is declared as a private value. So it should be as follows: //Spawn patrol First, you are missing an opening bracket for the function call to DZMSVehiclePatrol. I noticed a couple of mistakes in the examples. I suspect there's some extra code in there that I don't need, so for those of you with more coding experience than me, please chime in on how I can improve this. I will try to answer whatever questions I can. call DZMSWaitMissionComp ĭiag_log text format: Minor SM1 Bandit Squad Mission has Ended."] Wait until the player is within 30 meters and also meets the kill req _patrol, //Classname of vehicle (make sure it has driver and gunner) DZMSAddMinMarker is a simple script that adds a marker to the location DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result Bandit Hunting Party by lazyink (Full credit to TheSzerdi & TAW_Tonic for the code)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |