xposimon Posted July 6, 2023 Share Posted July 6, 2023 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)) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now