When Complete and Working, You pass it a Wrecks Entity ID and it loots it!
function LootWreck(int64 EntityID)
{
variable int64 EntityID
variable index:item ContainerCargo
variable entity entityToLoot = ${Entity[${EntityID}]}
variable int i = 1
variable int temp = 0...
function Fight()
{
Ship:Deactivate_Cloak
while ${Ship.IsCloaked}
{
wait 1
}
;Ship:Offline_Cloak
;Ship:Online_Salvager
; Reload the weapons -if- ammo is below 30% and they arent firing
Ship:Reload_Weapons[FALSE]
; Activate the weapons, the modules class checks...
This is a Snippet for the fight function to make it fly a short ranged ship that needs to MWD into range to be effective,
I was testing with a Blaster Diemos and with some help from Val i got it working pretty flawlessly
function Fight()
{
Ship:Deactivate_Cloak
while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.