Issue information

Issue ID
#375
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 5, 2007 20:07
Last Post
Hercules Elf Bot
Nov 5, 2007 20:07
Confirmation
N/A

Hercules Elf Bot - Nov 5, 2007 20:07

Originally posted by [b]Zerø[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=375

Hi, i created this script,he was walk randomly by the city, when someone hit him he should say "Outch!", But It Doesn't Work.
CODE
yuno,158,140,5    script    Test    50,2,2{
                    OnTouch:
                        npctalk "Outch!";
                    end;
                    
                    OnTimer10000:
                        getmapxy(.@map$,.@x,.@y,1,"Test");
                        npcwalkto .@x+rand(-2,2),.@y+rand(-2,2);
                        setnpctimer 0;
                    end;
                    
                    OnInit:
                        initnpctimer;    
                    end;
                }

Then i asked for support, but...
LoRez
QUOTE
i get teh same prob, different script obviously but the same error message and looks like his...help please?


~AnnieRuru~:
QUOTE
OnTouch doesn't work with moving npc

its a script engine bug inside the source

can you report it in bug tracker ?


http://www.eathena.ws/board/Problem-With-O...ch-t170595.html

This post has been edited by Zerø: Nov 7 2007, 01:28 PM