SRL Archive - OSR Help

question


mightyz

2012-04-09 16:09:26

Hello, just started making scripts. now i'm making a a script that will attack goblins the only thing im not sure how to do is i want to it stay in the goblin area because sometimes it mis clicks or goes for a goblin far away and cant get back how would i have it so the character has to stay in a certain radius

Abu

2012-04-09 16:13:16

I'm not sure this is possible because you can't just create invisible barriers you can't pass.

However, you can define locations and once your player leaves that location - you can make him walk back.

Use Object DTM's for this - you can find my tutorial on ObjectDTM's here: http://villavu.com/forum/showthread.php?t=78905

mightyz

2012-04-09 16:14:28

thank you abu, ill go check it out

Recursive

2012-04-09 16:15:35

Good job on taking on the challenge of making a script, I am waiting for exams to be over to get a start on one.

Use this link Documentation

Or this one How-to-Guide for MSI

NKN

2012-04-09 17:24:24

Create a walking procedure, and every five kills, or five failed attempts, have it run itself, which will take it back to said spot?

Kasi

2012-04-09 17:32:02

http://villavu.com/forum/showthread.php?t=73524

Create and recalibrate back to the point after a certain time.