Jump to content


Photo

Toggle Weapon AND horde Formation


Best Answer Miraak5, 23 June 2020 - 09:56 PM

Ok so got some help with lua and managed to make my hack/fix to solve this problem

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 20 June 2020 - 12:03 PM

Hey 

im currently working on the elven warriors (u know bfme1 elves)

in bfme1 when you toggle their weapon, they actually change their horde object (it's like a formation toggle)

and inside the sword horde object they have 2 code that will make them switch their weapon

(the point of this is so u can have diffrent members position, trigger an attributemodifier, make the elven warrior use a diffrent armorset when on sword mode)

but one of the code that was used in bfme1 (UpdateWeaponSetFlagsOnHordeToo = Yes) no longer exist in bfme2/rotwk and without it, it's not working correctly

and for now i was not able to make them toggle both horde and weapon correctly (tried to use CommandTrigger so the formation button would trigger a weapon toggle but did nothing)

 

any idea ? lua maybe ?


He was the first...


#2 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 23 June 2020 - 09:56 PM   Best Answer

Ok so got some help with lua and managed to make my hack/fix to solve this problem


He was the first...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users