06-29-2015, 07:41 PM
(06-26-2015, 10:15 PM)lukasze Wrote: If Cap >=80 move Potion to main Backpack(in equipment)pen BP
Quote:500 {Move item to BP} Self.Capacity()>=80 PotionID:=ID Self.Equip.Backpack(!PotionID!)If cap >=80 and under thee it is the item ID move item ID to first o
Quote:500 {Move item first open bp} PotionID:=ID X:=Self.X() Y:=Self.Y() Z:=Self.Z() Self.Capacity()>=80 Map.HasID(!PotionID!, !X!, !Y!, !Z!)>=1 Map.PickUpEx(!PotionID!, 0, 0, !X!, !Y!, !Z!, 3)if cap >= 80 Move item ID to first open BP
Quote:500 {Move item first open bp} PotionID:=ID X:=Self.X() Y:=Self.Y() Z:=Self.Z() Self.Capacity()>=80 Map.PickUpEx(!PotionID!, 0, 0, !X!, !Y!, !Z!, 3)if mana<=80 and ItemName >=10 use ID on you {Example}Name = mana potions
if Using one of 910 mana potions... {Example}[/quote]
Quote:500 {Use potion} PotionID:=ID ItemName:=Name X:=Self.X() Y:=Self.Y() Z:=Self.Z() selfID:=Creature.Self() Misc.ItemCount(!ItemName!)>=10 Self.Mana%()<=80 Creature.ShootOn(!selfID!, !PotionID!)
If something else he wanted to write exactly would you see if you can do the trick
[/quote]
Tks