Jump to content

Recommended Posts

Posted (edited)

Hi, i need help with script for adrenaline. I need to set target on a party member. And get count how many mebers is in the party.

Thanks

Edited by ziera
  • 3 weeks later...
Posted (edited)

I found it. 

engine.SetTarget(Party.Chars.Items(index).name);

replace index with party member position for first 0 then 1,2 ... 8

 

Try this:

var
  i : Integer;

begin
  
  For i := 0 to 8 do
    engine.SetTarget(Party.Chars.Items(i).name);
    delay(1000);
end.


Edited by bombellos
Posted
var

i : integer;

begin

while true do begin

delay(500);

for i:=0 to Party.Chars.count - 1 do begin

print(Party.Chars.Count);

engine.settarget(Party.Chars.Items(i));

end;

end;

end.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...