# How do I add a party in combat?

**URL:** <https://forum.choiceofgames.com/t/how-do-i-add-a-party-in-combat/140365>\
**Category:** ChoiceScript Help\
**Created:** [July 30, 2023, 6:10pm UTC](https://forum.choiceofgames.com/t/how-do-i-add-a-party-in-combat/140365 "2023-07-30T18:10:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Eiwynn](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/eiwynn/32/221334_2.png) [@Eiwynn](https://forum.choiceofgames.com/u/Eiwynn)\
**Post date:** [July 30, 2023, 6:24pm UTC](https://forum.choiceofgames.com/t/how-do-i-add-a-party-in-combat/140365/2 "2023-07-30T18:24:05Z")

</div>

Hi Matt –

These two threads might help:

> [@Free Code for Combat Systems in ChoiceScript](https://forum.choiceofgames.com/t/free-code-for-combat-systems-in-choicescript/46677):
>
> Code for basic combat. Feel free to use it in your story or modify it. Copy this into your startup.txt \*comment attribute \*create strength 20 \*create agility 20 \*comment skills \*create combat 20 \*create weapons 20 \*create stealth 20 \*comment status \*create health 100 \*comment booleans \*create has\_dagger false \*create has\_bow false \*create has\_poison false \*comment fight \*create opp\_awareness 0 \*create weapon "" \*create armor "" \*create weapon\_range 0 \*create weapon\_atk 0 \*create armor\_def …

and

> [@How to create code for a battle scene?](https://forum.choiceofgames.com/t/how-to-create-code-for-a-battle-scene/73946/5):
>
> Hmmm. Are you sure there is nothing already ready to copy and paste lost here in the forums? Anyways what are the rules? Initiative is speed based or will be luck based? Does strength affect damage or it will be based in firepower? Dash/run? Block? There will be armor and action points? Can you offer surrendering to your enemies? Or is a fight to the end. There will be rewards to the winner?

There are a few completed games that you might want to look at as well for generative combat:

_The Great Tournament_ , @adrao 's games, even the Daria games by Lucid should be inspirational.

My combat is curated and choreographed in its entirety, so my systems would not help you in this.

---

_[View the full topic](https://forum.choiceofgames.com/t/how-do-i-add-a-party-in-combat/140365)._
