elnelson
Lunaria World Dev
Good evening, otlanders, i was struggling with some autoloot i found on forum, it does not work properly, cant loot on bags and sometimes it does not loot, so i was thinking if it is possible to make a more simple Autoloot via Action/Talkaction, maybe the algorithm could go something like:
-using talkaction to save itemid, loot table (a blacklist and limit might solve tons of bugs )
-use container (not equipped)
-detecting if its container and its on floor (to avoid conflicts on player's containers idk)
-removing item, amount from container
-adding item, amount to player
-if player have less cap than item.id return message "you loot failed, you do not have enough cap"
I am using tfs 0.4 rev 3774 i do not have idea how to make talkactions to add id to tables nor use that data on the action script. Hope you guys could help me
Greetings!
-using talkaction to save itemid, loot table (a blacklist and limit might solve tons of bugs )
-use container (not equipped)
-detecting if its container and its on floor (to avoid conflicts on player's containers idk)
-removing item, amount from container
-adding item, amount to player
-if player have less cap than item.id return message "you loot failed, you do not have enough cap"
I am using tfs 0.4 rev 3774 i do not have idea how to make talkactions to add id to tables nor use that data on the action script. Hope you guys could help me
Greetings!