FG Spreadshirt Swag

Thread: Ammo counter

  1. #1

    Ammo counter

    I would like to request an automatic ammo counter as ranged weapon is used. This function is present in 5E Core. Is this possible to do as an extension or copy the function from 5E to 4E?

  2. #2
    See https://www.fantasygrounds.com/forum...read.php?56193

    Note:
    1) Ammo only displays with the weapon, not with powers (but still decrements when using powers)
    2) Ammo is decremented based on the weapon name. So if you have two weapons with the same name, it will decrement from the first one it finds
    Last edited by valeros; April 14th, 2020 at 03:54.

  3. #3
    Nice Extension ! Thank you valeros

  4. #4
    When NPC attacks PC I get this error and no attack or damage happens.

    [4/14/2020 5:00:54 PM] [<color="red">ERROR</color>] Script execution error: [string "scripts/manager_action_attack_ammo_counter_..."]:14: attempt to index local 'rFocus' (a nil value)

  5. #5
    Should be fixed, please download new version and try again. Maybe third time is the charm?

  6. #6
    Third time is the charm :-) Attacks from NPC's are not throwing an error now. Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Fridays Pre

Log in

Log in