Go Back   Ryzom > English speaking community > The Ryzom Ring
Ryzom News FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old October 13th, 2008, 06:33 PM   #9
sx4rlet
 
sx4rlet's Avatar
 
Join Date: Sep 2004
Posts: 1,025
Re: The Minefield of Ring Development

Quote:
Originally Posted by olepi
I did figure out one thing about the spawned mobs not following a route. On the first invocation, the mob spawns, and follows the route into the NPC's that will kill him. Then he respawns, and does not follow the route.

The problem is that if the mob is killed before the route is finished, he won't run the route when the mob respawns. If I make the route end just in aggro range, then the mob runs the route, gets aggro, gets killed, respawns, and then runs the route again. If he gets killed before the route is finished, the mob won't run the route again when respawned.


I am not completely sure, but I get the impression the mob needs to be told to start the route after spawning.

(It's something I never completely figured out, but there is 'autostart' which I suspect to only autostart the first time, and a 'start after event x'. At the end I found the 'start after event x' more usefull, as scripts didnt start how and when I wanted to with 'autostart'. This might be the same thing.)

In R2 language:
-event: if mob spawns, then follow route x.

(Or even:
Event1: if mob dies; then mob eats at place y; and spawns.
Event2: if mob spawns, then follow route x
you might even put in a timer of 1 or 5 seconds and give a message to the GM to tell you where it is the list...)
sx4rlet is offline   Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 04:12 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Ryzom forums are part of the SoR service and subject to the EULA and Code of Conduct.

MMORPG