Aller au contenu

Photo

Jump player back to location before overland encounter happens?


  • Veuillez vous connecter pour répondre
27 réponses à ce sujet

#26
Ugly_Duck_01

Ugly_Duck_01
  • Members
  • 69 messages
I'm trying to spawn fightable monsters into a random encounter area, at a waypoint. they should be specific to the npc creature that initiates the conversation. IE: zombie npc starts convo, player teleported to random encounter area (which is already in place) - zombie group of 3-5 zombies are hostile and ready to fight the player.

Edit: also, the spawnable creatures need to be level appropriate for the player.  Level 20 player = level 21 or 24 creatures.

Modifié par Ugly_Duck_01, 22 février 2014 - 04:07 .


#27
Tchos

Tchos
  • Members
  • 5 042 messages
Normally when I spawn creatures, I do it through the area's On Client Enter script, not through a conversation. You'll never be entering these areas unless it's to fight some newly-spawned enemies, right? So I'd use On Client Enter, like the SoZ areas

If you have the different area types you described before (mountains for ogres, graveyards for zombies), there's no need to use the conversation to decide which ones to spawn. Each area itself spawns the appropriate creatures.

Or, you could use the built-in encounter system. You populate the encounter list with variant creatures, place special waypoints around the area, and a trigger. You can fire the trigger via script (such as in the On Client Enter script) instead of making the player walk into it.

For the level-appropriate creatures, you'll need to either make or import creatures of the levels you want, if the toolset doesn't supply them.

#28
Ugly_Duck_01

Ugly_Duck_01
  • Members
  • 69 messages
thanks for the information Tchos, you've been a HUGE help!