11-08-2013, 08:15 AM
Hello. I need script like:
when you see on the screen 2+ tarantulas equip stealth ring. When 1 remain - unequip.
when you see on the screen 2+ tarantulas equip stealth ring. When 1 remain - unequip.
Stealth ring request
|
11-08-2013, 08:15 AM
Hello. I need script like:
when you see on the screen 2+ tarantulas equip stealth ring. When 1 remain - unequip.
11-08-2013, 08:19 AM
Hello, try this bro!
PHP Code: 1000 {ring} T:=Creatures.OnScreen() !T!==2 Self.Equip.Ring(3049)
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 "
11-08-2013, 08:40 AM
11-08-2013, 08:51 AM
(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?
11-09-2013, 08:13 PM
(11-08-2013, 09:12 AM)Kimoszin Wrote: idRingOFF normal ring id Can't do this, please help me. No idea. Quote:1500 or Quote:1500 - none of them works
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) |
« Next Oldest | Next Newest »
|