Issue information

Issue ID
#5120
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Dec 16, 2011 1:11
Last Post
Hercules Elf Bot
Apr 5, 2012 8:32
Confirmation
N/A

Hercules Elf Bot - Dec 16, 2011 1:11

Originally posted by [b]QQfoolsorellina[/b]
Here is my test script:

[code]
- script ttt -1,{
end;

OnTouch:

specialeffect2 580;

}


prontera,140,96,4 duplicate(ttt) ppp 857,4,4
[/code]

item_db
[code]
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{getmapxy(.@m$,.@px,.@py,0); unitwarp getnpcinfo(5,"ppp"),.@m$,.@px,.@py; },{},{}
[/code]

Hercules Elf Bot - Dec 16, 2011 3:23

Originally posted by [b]QQfoolsorellina[/b]
sorry i forgot this patch

http://www.eathena.ws/board/index.php?showtopic=270671

Hercules Elf Bot - Dec 17, 2011 5:44

Originally posted by [b]Ind[/b]
you are mentioning that you use that patch or it didnt work before because you didn't use it?

Hercules Elf Bot - Dec 17, 2011 10:20

Originally posted by [b]QQfoolsorellina[/b]
[quote name='Ind' timestamp='1324100658' post='5639']
you are mentioning that you use that patch or it didnt work before because you didn't use it?
[/quote]

NO, i post
[quote]
sorry i forgot this patch[url="http://www.eathena.ws/board/index.php?showtopic=270671"] http://www.eathena.w...howtopic=270671[/url]
[/quote]

it means I forgot to tell how the custom script command [b]GetNPCInfo[/b] work in my test itemscript.

In my test ,after waped the specify npc [b]OnTouch[/b] label can't be triggered anymore

hope developer can check it thanks

Hercules Elf Bot - Dec 17, 2011 10:29

Originally posted by [b]Epoque[/b]
Officially, unitwarp; was never intended to warp scripts or NPCs. This is one of the primary reasons the retrieval of an NPC GID/RID was never implemented. Unfortunately this is an issue with a custom patch being applied, not official behaviour. The only way around this is to use enablenpc/disablenpc; to 'mimic' the effects of a warping NPC.