Jump to content

Demonic Gorillas / Animation IDs


jarsh921

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...