Author Topic: Mount / dismount sub help  (Read 5091 times)

0 Members and 1 Guest are viewing this topic.

Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Mount / dismount sub help
« on: July 07, 2012, 12:02:00 PM »
0
I have been using scripts for a long time and been able to make a few real easy ones of my own in the past. I am having an issue with making a sub that will mount a freshly tamed steed then dismount that same steed after moving to a designated spot. Can someone please help me with a tip of some sort. Thanks!

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Mount / dismount sub help
« Reply #1 on: July 07, 2012, 03:23:25 PM »
0
How do you get on or off a tamed steed normally?

To get on... double click the animal.

To get off... double click yourself.

You should be able to find many scripts that already have it functional.

To get on...

find the id of the animal
use that id

XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: Mount / dismount sub help
« Reply #2 on: July 07, 2012, 03:30:21 PM »
0
Hint: 17

You can use the same execution for both actions. Get the ID of the mount, use it. Get the ID of yourself, use it.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline freddy

  • Sr. Member
  • *
  • Posts: 271
  • Activity:
    0%
  • Reputation Power: 4
  • freddy has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 1
    • View Profile
Re: Mount / dismount sub help
« Reply #3 on: July 08, 2012, 01:52:58 AM »
0
I have been using scripts for a long time and been able to make a few real easy ones of my own in the past. I am having an issue with making a sub that will mount a freshly tamed steed then dismount that same steed after moving to a designated spot. Can someone please help me with a tip of some sort. Thanks!

There's no way to tell if your char is mounted (afaik), so you'd have to assume that you aren't mounted or you use event macro 17 on yourself (after setting the #lobjectid).

so find steed with finditem, set its itemid as #lobjectid, then use event macro 17 on it. after you move to the spot you need, set your #charid as #lobjectid and use event macro 17 again.

Tags: