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
Posted

I found it. 

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

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

  • 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..