Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stealth ring request
#1
Hello. I need script like:

when you see on the screen 2+ tarantulas equip stealth ring. When 1 remain - unequip.
#2
Hello, try this bro!

PHP Code:
1000 {ringT:=Creatures.OnScreen() !T!==2 Self.Equip.Ring(3049)
1000 {unringT:=Creatures.OnScreen() !T!==1 Self.UnEquip.Ring(0) (3049
#3
Doesn't work. Besidez, it would work for spiders, centipdes etc and i need it to work for tarantules only

When 4 monsters I debuged it shows "Start-Of-Macro

Creatures.OnScreen() returned 4
!T! has been set to 4
[False] !T!==2
[@] Exit of macro

End-Of-Macro
"
#4
http://wiki.bmega.net/doku.php?id=sample...x_monsters
#5
(11-08-2013, 08:40 AM)Kimoszin Wrote: http://wiki.bmega.net/doku.php?id=sample...x_monsters

500 {tarantule3} 1500 {Equip/Unequip ring with x monsters} monstersCount:=3 idRingOFF:=0 idRingON:=3049 Creatures.ByName(Tarantula)>=!monstersCount! [else] Self.Inventory.Ring()<>!idRingON! Self.Equip.Ring(!idRingOFF!) Exit() {else} Self.Inventory.Ring()==!idRingON! Self.UnEquip.Ring(0)


Its ok?
#6
idRingOFF normal ring id
#7
(11-08-2013, 09:12 AM)Kimoszin Wrote: idRingOFF normal ring id

Can't do this, please help me. No idea.

Quote:1500
{Equip/Unequip ring with x monsters}
monstersCount:=2
idRingOFF:=0
idRingON:=3049
Creatures.ByName(Minotaur Guard)>=!monstersCount! [else]
Self.Inventory.Ring()<>!idRingON!
Self.Equip.Ring(!idRingOFF!)
Exit()
{else}
Self.Inventory.Ring()==!idRingON!
Self.UnEquip.Ring(0)

or

Quote:1500
{Equip/Unequip ring with x monsters}
monstersCount:=2
idRingOFF:=3049
idRingON:=3049
Creatures.ByName(Minotaur Guard)>=!monstersCount! [else]
Self.Inventory.Ring()<>!idRingON!
Self.Equip.Ring(!idRingOFF!)
Exit()
{else}
Self.Inventory.Ring()==!idRingON!
Self.UnEquip.Ring(0)


- none of them works
#8
all tell you sux scripts. becoue all scripts here will take ring when 2+ NPC, MONSTER, PLAYER etc.

Use it.
This will only equip/unequip ring when 2+ MONSTER or NPC, will dont count PLAYERS
Code:
1000 {Zdejmowanie Ringa} ile:=Creatures.NPCOnScreen() !ile!<2 Self.UnEquip.Ring(0)
1000 {Zakladanie Ringa} ile:=Creatures.NPCOnScreen() !ile!>1 Self.Inventory.Ring()<>3086 Self.Equip.Ring(3049)
#9
idRingOFF:=3049
idRingON:=3068


Forum Jump:


Users browsing this thread: 1 Guest(s)