View Full Version : drop vials if cap below #
dean015
02-04-2016, 01:29 PM
can someone share this piece of code with me please
thanks
Oscagi
02-04-2016, 02:42 PM
MinCap = 3000
Module.New('DropVials', function()
if Self.Cap() < MinCap then
pos = Self.Position()
Self.DropFlasks(pos.x, pos.y, pos.z)
end
end)
dean015
02-04-2016, 03:30 PM
MinCap = 3000
Module.New('DropVials', function()
if Self.Cap() < MinCap then
pos = Self.Position()
Self.DropFlasks(pos.x, pos.y, pos.z)
end
end)
thanks
its dropping all flasks when it gets to the cap entered, is there a way to drop vials up to the cap selected and drop maybe 25 vials at a time so to save a little money?
ether way thanks it works fine
Oscagi
02-04-2016, 04:16 PM
yes after x,y,z write how much vials u want drop.
Self.DropFlasks(pos.x, pos.y, pos.z, 25)
dean015
02-04-2016, 04:29 PM
yes after x,y,z write how much vials u want drop.
Self.DropFlasks(pos.x, pos.y, pos.z, 25)
thank you sir :)
Oscagi
02-04-2016, 04:45 PM
Np dude :>
Metaxa
05-01-2016, 11:03 PM
Does this work on all kind of empty flasks? Or do i need to enter specific ID ?
Oscagi
05-02-2016, 05:33 AM
Does this work on all kind of empty flasks? Or do i need to enter specific ID ?
Self.DropFlasks() its for all empty flask I think, test it.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.