jarsh921 Posted September 26, 2021 Share Posted September 26, 2021 I am attempting to write a script for demonic gorillas. It is working okay but running into some issues / inefficiencies that I can’t figure out how to handle so if anybody has input or ideas it would be greatly appreciated. First, demonic gorillas have the same animation ID for the falling rock attack as well as when they switch prayers. So making player move on this animation ID will unnecessarily move when gorilla switches prayer. I can then do a loop checking for projectiles on my player’s position to tell if there really is a rock attack, but this is slow so sometimes movement doesnt happen in time. I also looked at projectiles target to check if it is myPlayer but apparently the rock attack projectile doesnt have a target. Is the duplicate animation ID an osbot bug or an artifact of the game? How can I tell the difference without looping through projectiles? Also I am switching prayers successfully based on the demonic gorilla’s animation ID, but still taking damage sometimes on the first of the cycle of that animation. I would like to count the number of times a gorilla hits a 0 on myPlayer, so that after 3 hits of 0 I can guess switch to another prayer to avoid some damage. How can I count hits of 0 on myPlayer? Thanks for any help. Quote Link to comment Share on other sites More sharing options...