Encounters + Waypoints

Moderator: Event DM

Post Reply
User avatar
p0m
Scholar
Posts: 1364
Joined: Tue May 10, 2005 12:02 am
Timezone: +10
DM Avatar: Wintermute
Location: Brisbane, Australia
Contact:

Encounters + Waypoints

Post by p0m » Thu Aug 24, 2006 12:15 am

Heya guys,

This may be a stupid and pointless question, but I'm wondering if anyone might have a solution to this.

I have an encounter that is triggered by a conversation, which is fine, however I want to have all the creatures spawned by this encounter run towards a waypoint near where they spawn.

Is there a way to do this, without using a different onspawn for the creatures as they already have a quite hefty onspawn.

Cheers,
p0m
Player of: Dannar Sunrise/Blighte
Gennor Visson
Jert Vilodel
User avatar
jaythespacehound
Apprentice Scholar
Posts: 940
Joined: Wed Sep 22, 2004 6:52 am
Location: Hobart Australia (feels like a small island sometimes...hang on it is) GMT+10

Post by jaythespacehound » Mon Sep 18, 2006 4:24 am

Welllll... you could always use the onUserDefined and set the spawn in to onSpawned.... *innocent grin*
User avatar
Jonezie
Team Member; Retired with Honors
Posts: 3905
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

Post by Jonezie » Mon Sep 18, 2006 7:23 am

Tag the waypoint 'POST_<creature tag>'. Note that this will cause all creatures of this tag to move to the waypoint, not just the ones from your encounter. Not so good, unless the encounter creatures are unique in the area.

Or, have a heartbeat script somewhere. No good for PWs, okay for single-player mods.

Or, instead of spawning the creatures from an encounter, create them via a script in the conversation, and assign them to move to the waypoint. That's what Id be doing.

EDIT: Old post!
User avatar
jaythespacehound
Apprentice Scholar
Posts: 940
Joined: Wed Sep 22, 2004 6:52 am
Location: Hobart Australia (feels like a small island sometimes...hang on it is) GMT+10

Post by jaythespacehound » Mon Sep 18, 2006 3:35 pm

Woops, my mistake, good solutions though Jonezie.
Post Reply