What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Custom Behavior] VehicleMover - provides vehicle movement and optional spell usage

highvoltz

Well-Known Member
Joined
Mar 22, 2010
Messages
1,729
Reaction score
141
This CB provides movement via the navigator or click-to move.
The documentation is inside the source code.

PHP:
   /// <summary>
    /// VehicleMover by HighVoltz
    /// Moves to location while in a vehicle
    /// ##Syntax##
    /// VehicleID: ID of the vehicle
    /// UseNavigator: (optional) true/false. Setting to false will use Click To Move instead of the Navigator. Default true
    /// Precision: (optional) This behavior moves on to the next waypoint when at Precision distance or less to current waypoint. Default 4;
    /// MobID: (optional) NPC ID to cast spell on to cast spell on.. not required even if you specify a spellID
    /// SpellID: (optional) Casts spell after reaching location.
    /// CastTime: (optional) The Spell Cast Time. Default 0;
    /// X,Y,Z: The location where you want to move to
    /// </summary>
Example usage:
PHP:
                <CustomBehavior File="VehicleMover" VehicleID = "34840" UseNavigator = "true" SpellID = "66300"
                                X="-8424.445" Y="1327.027" Z="101.9408" />
 

Attachments

Last edited:
Glad to see someone else creating Quest Behaviors now, Can't wait to see what else you come up with HighVoltz.
 
Back
Top