Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!
Moderator: MacroQuest Developers
-
robdawg
- a ghoul

- Posts: 114
- Joined: Tue Mar 23, 2004 11:54 am
-
Contact:
Post
by robdawg » Wed Apr 28, 2004 3:32 am
Is it possible to know the position of an elevator? And if so is it possible to target the elevator's lever and "press" it?
This is for an Aid Grimel macro that I am trying to create.
ROBDAWG
[url=http://www.seathound.com]Seat Hound[/url]
[url=http://www.sportsrumormill.com]Sports Rumor Mill[/url]
[url=http://www.packerforum.com]Packer Forum[/url]
-
bohicaseti
- a lesser mummy

- Posts: 33
- Joined: Sat Mar 06, 2004 5:55 am
Post
by bohicaseti » Wed Apr 28, 2004 12:46 pm
Hmm I would think that the elevator button might be something that could show up on /items? Just a guess but maybe it has the same properties as a forge, oven etc. Havn't tested this as I'm still waiting for latest zip to release, but try standing next to the button/ elevator and do a /items and see if you get a close listing that could be the button.
Friends help friends move . . . .
Real friends help friends move dead bodies.
-
LordGiddion
- a snow griffon

- Posts: 352
- Joined: Sat Sep 13, 2003 6:12 pm
-
Contact:
Post
by LordGiddion » Wed Apr 28, 2004 1:00 pm
switch
- Members:
...int ID: Switch ID
...float Distance: Distance from player to switch in (x,y)
...float X: X
...float Y: Y
...float Z: Z
...float W: X (Westward-positive)
...float N: Y (Northward-positive)
...float U: Z (Upward-positive)
...heading Heading: Switch is facing this heading..
...float DefaultX: "closed" state X
...float DefaultY: "closed" state Y
...float DefaultZ: "closed" state Z
...float DefaultW: "closed" state X (Westward-positive)
...float DefaultN: "closed" state Y (Northward-positive)
...float DefaultU: "closed" state Z (Upward-positive)
...heading DefaultHeading: "closed" state heading
...bool Open: Open?
...heading HeadingTo: Direction player must move to meet this switch
...string Name: Name
- To String: Same as ID
-
robdawg
- a ghoul

- Posts: 114
- Joined: Tue Mar 23, 2004 11:54 am
-
Contact:
Post
by robdawg » Wed Apr 28, 2004 2:36 pm
okay I got the targeting down
just used
/doortarget id 29
so I can now target both the elevator and switch, but I need to know how to "push/pull" the switch/lever.
Gonna be making a nifty little script here so please help me so I can finish it up for everyone. :)
ROBDAWG
[url=http://www.seathound.com]Seat Hound[/url]
[url=http://www.sportsrumormill.com]Sports Rumor Mill[/url]
[url=http://www.packerforum.com]Packer Forum[/url]
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Wed Apr 28, 2004 2:39 pm
/keypress U

-
Imperfect
- Macro Author

- Posts: 319
- Joined: Fri Jun 14, 2002 1:52 am
Post
by Imperfect » Wed Apr 28, 2004 3:12 pm
/keypress use