ziera Posted July 27, 2015 Posted July 27, 2015 (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 July 28, 2015 by ziera Quote
ziera Posted July 28, 2015 Author Posted July 28, 2015 I found it. engine.SetTarget(Party.Chars.Items(index).name); replace index with party member position for first 0 then 1,2 ... 8 Quote
bombellos Posted August 14, 2015 Posted August 14, 2015 (edited) On 7/28/2015 at 10:06 PM, ziera said: 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 August 14, 2015 by bombellos Quote
adr.bot Posted August 14, 2015 Posted August 14, 2015 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. Quote
Recommended Posts
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.