Jump to content

Detecting animation by script?


Recommended Posts

Hello!

I was trying to see if I could use a combination of triggers to detect whether the party member talking to an NPC is polymorphed into a specific creature.

I started with:

CheckStat(LastTalkedToBy(Myself),1,POLYMORPHED)

but let's say I want to limit it further to, for instance, werewolf polymorphing. Is there a way to check the animate.ids field or if not, is there perhaps a workaround?

Thanks!

Edited by Salk
Link to comment

Oh wow, didn't realize the games didn't expose this as a stat. This would work in gemrb:

CheckStat(LastTalkedToBy(Myself),32256,ANIMATIONID)

So unless you're modding iwd2, where you have the IsAnimationID trigger, you're out of simple options.

Link to comment

Join the conversation

You are posting as a guest. 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.

×
×
  • Create New...