SetWeapon: Revision history

From Eternity Wiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 April 2026

  • curprev 07:2507:25, 4 April 2026Printz talk contribs 998 bytes +998 Created page with "{{ACSFunction|description=Changes activator's current weapon. |usage=''boolean'' '''SetWeapon'''(''str weapon'') |parameters= *''weapon'': name of weapon to switch to. This name is one defined by an EDF weaponinfo block, which for the base games is stored in '''player.edf'''. |return='''TRUE''' if the weapon was successfully selected or was already active, '''FALSE''' otherwise. |examples= <code>int result = SetWeapon("Crossbow"); // will return TRUE if player..."