Page 1 of 1

ingame macro

Posted: Sun Jun 17, 2012 3:15 am
by kuripot
anyone can help me how to use this in ingame macro

player:target_Object();
sendMacro("ChoiceOption(1);");
yrest(1000)
sendMacro("ChoiceOption(1);");
yrest(1000)

Re: ingame macro

Posted: Sun Jun 17, 2012 3:31 am
by lisa

Code: Select all

player:target_Object();
If you are just trying to target nearest enemy then

Code: Select all

/script TargetNearestEnemy()
or you could try

Code: Select all

TargetNearestFriend()
-------

Code: Select all

sendMacro("ChoiceOption(1);");
=

Code: Select all

/script ChoiceOption(1);
--------

Code: Select all

yrest(1000)
=
Impossible, they removed all pauses and rests from in game functions a long time ago. Might be able to set up some sort of loop for a period of time, maybe.

--------

To be honest I think you will struggle to do what you want in a Macro.

Re: ingame macro

Posted: Sun Jun 17, 2012 4:26 am
by kuripot
i want to target given object like
target_Object("Tina");
target_Object(115808);
not sure in ID...
by the way i forgot to tell i want to target hidden object or NPC like Tina that give grand hammer by hidden in private server

Re: ingame macro

Posted: Sun Jun 17, 2012 8:41 pm
by lisa
yeah I seriously doubt you can do that with a macro, should work fine using bot though because bot targets objects via memory.