Thread: Ammo counter
-
April 13th, 2020, 17:55 #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?
-
April 14th, 2020, 03:50 #2
- Join Date
- Aug 2009
- Posts
- 261
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.
-
April 14th, 2020, 11:17 #3
-
April 15th, 2020, 02:07 #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)
-
April 15th, 2020, 04:17 #5
- Join Date
- Aug 2009
- Posts
- 261
Should be fixed, please download new version and try again. Maybe third time is the charm?
-
April 15th, 2020, 05:45 #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)
Bookmarks