• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Quest Behavior] TEST - UseTransport (Elevators,Boats,Zeppelins etc).

    Discussion in 'Archives' started by regecksqt, Jan 3, 2011.

    1. -vdm-

      -vdm- New Member

      Joined:
      Nov 25, 2010
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      0
      Could someone post the info in the OP in the wiki? I can't do that yet, not enough posts.. and is quite handy for someone like me without having to dig around.



      edit: figured the other question out.
       
      Last edited: May 19, 2011
    2. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      Credits Highvoltz for HBConsole and this code here:

      PHP:
      Log("Transport: " Me.Transport.Entry);
          
      Log("Position: X=\"{0}\" Y=\"{1}\" Z=\"{2}\"> "Me.Transport.GetWorldMatrix().M41 Me.Transport.GetWorldMatrix().M42 Me.Transport.GetWorldMatrix().M43);
      ^^ that will produce XYZ

      now, for UseTransport, here's how a 'new' one looks (attribute names changed again)

      PHP:
                      <CustomBehavior File="UseTransport"
                                      
      WaitAtX="4180.536" WaitAtY="5280.977" WaitAtZ="26.49352"
                                      
      GetOffX="4180.375" GetOffY="5282.13" GetOffZ="39.60874" 
                                      
      TransportStartX="4184.285" TransportStartY="5281.594" TransportStartZ="26.8" 
                                      
      TransportEndX="4184.285" TransportEndY="5281.594" TransportEndZ="39.48473" 
                                      
      TransportId="152614" />
      There's also a StandAtX Y Z attribute (optional)
       

    Share This Page