Open Ephreaym opened 8 months ago
NPC's and monsters blocking status is determined in fact by having an appropriate action on top of action stack (ACTION_BLOCK_ATTACK 21) (See https://github.com/noxworld-dev/opennox/blob/789be5c3bf748755d0609f79f659cbfeb8ab84c1/src/legacy/GAME3_3.c#L264 for NPCs, https://github.com/noxworld-dev/opennox/blob/789be5c3bf748755d0609f79f659cbfeb8ab84c1/src/legacy/GAME3_3.c#L650 for SkeletonDamage)
Thanks @angrykirc ! I was thinking to check the monster (animation?) state, but action stack should do the trick too :+1:
Not sure if possible but being able to animate NPCs as a function would be great as well. But not sure if they’re even there. I.e. spell casting or taunting.
From: Denys Smirnov @.> Sent: Saturday, December 23, 2023 19:24 To: noxworld-dev/opennox @.> Cc: Ephreaym @.>; Author @.> Subject: Re: [noxworld-dev/opennox] Allow creature status to by recognised by script. (Issue #644)
Thanks @angrykirchttps://github.com/angrykirc ! I was thinking to check the monster (animation?) state, but action stack should do the trick too 👍
— Reply to this email directly, view it on GitHubhttps://github.com/noxworld-dev/opennox/issues/644#issuecomment-1868346441, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7B6EX7UCZO7EU3KI7QMNNLYK4OU7AVCNFSM6AAAAABBAZWYTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGM2DMNBUGE. You are receiving this because you authored the thread.Message ID: @.***>
Not sure about reflective shield either. And great sword blocking stance.
Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef
Van: Efraïm Demirel @.> Verzonden: Saturday, December 23, 2023 8:19:19 PM Aan: Denys Smirnov @.>; noxworld-dev/opennox @.>; noxworld-dev/opennox @.> CC: Author @.***> Onderwerp: Re: [noxworld-dev/opennox] Allow creature status to by recognised by script. (Issue #644)
Not sure if possible but being able to animate NPCs as a function would be great as well. But not sure if they’re even there. I.e. spell casting or taunting.
From: Denys Smirnov @.> Sent: Saturday, December 23, 2023 19:24 To: noxworld-dev/opennox @.> Cc: Ephreaym @.>; Author @.> Subject: Re: [noxworld-dev/opennox] Allow creature status to by recognised by script. (Issue #644)
Thanks @angrykirchttps://github.com/angrykirc ! I was thinking to check the monster (animation?) state, but action stack should do the trick too 👍
— Reply to this email directly, view it on GitHubhttps://github.com/noxworld-dev/opennox/issues/644#issuecomment-1868346441, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7B6EX7UCZO7EU3KI7QMNNLYK4OU7AVCNFSM6AAAAABBAZWYTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGM2DMNBUGE. You are receiving this because you authored the thread.Message ID: @.***>
I'd be helpful to get the status of npc's and players to improve the bot tactics. For example if a creature is blocking or not.