Dear all,
I am totally lost after trying, searching and reading on this forum for an aswer to rearming my units and I just can't do it. I tried Chris OFP editor and the ReamEast Script to no avail. I just don't understand it. I even e-mailed Chris but I am sure the guy has enough to do. So I am asking here if anyone can help.
I used Chris's OFP editor to make this script for my 11 units (P1 to P11 use this same script)
; ** ORIGINAL FILE NAME: RGP.sqs
; ** INSTRUCTIONS: Run script from the INITIALIZATION box of the unit
; ** RUN CODE: [this] Exec "RGP.sqs"
; ***********************************************************************
; Get the unit parameter given
_unit = _this Select 0
; Strip the units current gear
RemoveAllWeapons _unit
; Add the new gear to the unit
_unit AddMagazine "RPGLauncher"
_unit AddMagazine "RPGLauncher"
_unit AddMagazine "RPGLauncher"
_unit AddMagazine "RPGLauncher"
_unit AddMagazine "RPGLauncher"
_unit AddWeapon "RPGLauncher"
_unit AddMagazine "SkorpionMag"
_unit AddMagazine "SkorpionMag"
_unit AddMagazine "SkorpionMag"
_unit AddMagazine "SkorpionMag"
_unit AddWeapon "Skorpion"
_unit AddWeapon "Binocular"
Exit
What I really want is to use this same script but add each player to rearm with RGP ammo automaticly when they run out of ammo. This is for a SP game I am making Any help would be fantastic but I have tried Chris OFP Editor and even that is to complecated for me. So please go easy with me.
Cheers,
Richard