inanimate targets?
-
- Posts: 82
- Joined: Fri Apr 19, 2013 2:36 pm
inanimate targets?
Is it possible to add inanimate targets to your list of things to heal..? , Hmm is there a way to add more stuff to Party HEAL .. i don't want to rely on a seperate monitor script , tryed it in the past and it's not efficient enough.
Re: inanimate targets?
Looked quickly into party.lua. Seems like you can add things manually to the table of things to heal. Have a look at it. In your party.lua file look at PartyTable() function, adding these table.insert() lines after the for loop will probably do the trick:
Code: Select all
table.insert(partymemberName,#partymemberName+1, "inanimate target's name")
if player:findNearestNameOrId("inanimate target's name") then
table.insert(partymemberObj,#partymemberObj+1, player:findNearestNameOrId("inanimate target's name"))
table.insert(partymemberpawn,#partymemberpawn+1, CPawn(partymemberObj[#partymemberObj].Address))
end
-
- Posts: 82
- Joined: Fri Apr 19, 2013 2:36 pm
Re: inanimate targets?
~kenzu38 wrote:Looked quickly into party.lua. Seems like you can add things manually to the table of things to heal. Have a look at it. In your party.lua file look at PartyTable() function, adding these table.insert() lines after the for loop will probably do the trick:
Code: Select all
table.insert(partymemberName,#partymemberName+1, "inanimate target's name") if player:findNearestNameOrId("inanimate target's name") then table.insert(partymemberObj,#partymemberObj+1, player:findNearestNameOrId("inanimate target's name")) table.insert(partymemberpawn,#partymemberpawn+1, CPawn(partymemberObj[#partymemberObj].Address)) end
how about friendly targets such as NPCs? for example the honor guard in siege
Re: inanimate targets?
Yeah, I think so. If the game allows you to heal it manually then yeah you can automate it with bot.
Who is online
Users browsing this forum: No registered users and 0 guests