I'm recently working on a mod to automate some behaviors. For example, the character automatically grabs some items, climbs the sheet rope, and drops them on the floor.
My problem is I find the ISClimbSheetRopeAction seems not to be compatible with the ISInventoryTransferAction. The transfer action is triggered just after the character starts to climb, which I think should be triggered after the character has finished climbing. Anyone can give me some suggestions so that the transfer action can be triggered correctly?
An example code:
The character climb from square(x,y,0) to square(x+1,y,1). The items are supposed to be dropped at square(x+1,y,1), but they are dropped at square(x,y,0) instead.
local climbAction =ISClimbSheetRopeAction:new(playerObj, square, false)
ISTimedActionQueue.add(climbAction)
ISTimedActionQueue.add(ISInventoryTransferAction:new(playerObj, item, playerInv, floorContainer))