Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Bite, Claw, Claw attack script.

$
0
0
I was trying to better emulate the PnP attacks of creatures to allow them to have the Bite, then Claw, then Claw, as they should. The two items were made and put into their slots and I applied the following script. The problem is the switching never changes at all. I know the script is being processed but I am unsure if there is a better way. Perhaps it is better to just do the average like it is now.

IF
See(NearestEnemyOf(Myself))
THEN
RESPONSE #90
SelectWeaponAbility(SLOT_WEAPON1,0)
Attack(NearestEnemyOf(Myself))
RESPONSE #5
SelectWeaponAbility(SLOT_WEAPON,0)
Attack(NearestEnemyOf(Myself))
RESPONSE #5
SelectWeaponAbility(SLOT_WEAPON,0)
Attack(NearestEnemyOf(Myself))
END

Any advice would be much appreaciated. It would allow summons to have special bites, or claw attacks.

TIA

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images