Server Totals
Mikona - (3)
Elysia - (3)
Visimontium - (1)
Wilderness - (1)
Ferrell - (0)
M'Chek - (0)
Le'Or - (0)
Underdark - (0)
Deglos - (0)
Total players: 8
Gallery

Links Menu

Encounters + Waypoints

Moderators: Nighthawk4, Dungeon Masters

Encounters + Waypoints

PostAuthor: 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
p0m
Scholar
 
Posts: 1366
Joined: Tue May 10, 2005 12:02 am
Location: Brisbane, Australia
Timezone: +10
DM Avatar: Wintermute

PostAuthor: 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
jaythespacehound
Apprentice Scholar
 
Posts: 941
Joined: Wed Sep 22, 2004 6:52 am
Location: Hobart Australia (feels like a small island sometimes...hang on it is) GMT+10

PostAuthor: 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
Jonezie
Team Member; Retired with Honors
 
Posts: 3906
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

PostAuthor: jaythespacehound » Mon Sep 18, 2006 3:35 pm

Woops, my mistake, good solutions though Jonezie.
User avatar
jaythespacehound
Apprentice Scholar
 
Posts: 941
Joined: Wed Sep 22, 2004 6:52 am
Location: Hobart Australia (feels like a small island sometimes...hang on it is) GMT+10


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot]