IETS - v0.5.1
    Preparing search index...

    Function ChangeGender

    BG2 barrel re-exports.

    Generated by ts-update. Do not edit manually.

    Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.

    • This action changes the gender of the target creature to the specified value. Values are from [gender.ids]({{ ids }}/gender.htm). The example script changes the gender of summoned creatures to neither, to bypass the 5 concurrent summoned creatures limit.

       IF
         See([ALLY])
         !InParty(LastSeenBy(Myself))
         Gender(LastS eenBy(Myself),SUMMONED)
         !Specifics(LastSeenBy(Myself),3001)
       THEN
         RESPONSE #100
           ChangeGender(LastSeenBy(),NEITHER)
           ChangeSpecifics(LastSeenBy(Myself), 3001)
       END
      

      Parameters

      Returns Action