Thread: Update 1.0.8
-
January 13th, 2019, 19:44 #11
-
January 13th, 2019, 20:06 #12
Still no lick getting the skill (or even unskill) to work with attack rolls. No matter if it's weapons from the ruleset or weapons I added.
GunAttackRoll_noSkill.jpg
It works in 1.0.7a BTW
-
January 13th, 2019, 20:14 #13
pps: here with 1.0.7 again
GunAttackRoll_107_Skill.jpg
-
January 13th, 2019, 20:44 #14
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
-
January 27th, 2019, 12:02 #15
Yes. It. Is. (I honestly don't know how to make it more clear...)
GunCombat.jpg
-
January 27th, 2019, 12:34 #16Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 27th, 2019, 13:01 #17
The issue is that when it comes to calling the onSourceUpdate() , the data doesn't yet exist.... interesting.
Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 27th, 2019, 13:23 #18
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Nevermind.
Last edited by Andraax; January 27th, 2019 at 13:26.
-
January 27th, 2019, 13:29 #19
Alas it is.
The OnSource update is called when the ChildNode is added, before the data has been added to that node.
So when it comes to provide the skill level, there's no skill link data.
Here's my console:
Runtime Notice: Reloading ruleset
Runtime Notice: s'The node ' | databasenode = { charsheet.id-00008.weaponlist.id-00003 } <---- EXISTING, WORKS CORRECTLY
Runtime Notice: s'The name ' | s'Autorifle'
Runtime Notice: s'And here ' | s'charsheet.id-00008.skilllist.id-00006'
Runtime Notice: s'The node ' | databasenode = { charsheet.id-00008.weaponlist.id-00004 } <---- EXISTING, WORKS CORRECTLY
Runtime Notice: s'The name ' | s'Assault Rifle'
Runtime Notice: s'And here ' | s'charsheet.id-00008.skilllist.id-00006'
Runtime Notice: s'Weapon skill: ' | s'Gun Combat (Slug Rifle)'
Runtime Notice: s'This is first'
Runtime Notice: s'The node ' | databasenode = { charsheet.id-00008.weaponlist.id-00005 } <---- NEW WEAPON
Runtime Notice: s'The name ' | s'' <---- NO NAME
Runtime Notice: s'And here ' | s'' <---- NO SKILL
Runtime Notice: s'Where do we see this?' <----- FROM THE ROUTINE THAT ADDS THE WEAPON, FIRES AFTER THE ONSOURCE UPDATE IN THE LIST
Runtime Notice: s'We get here' <---- COMPLETED ADDING THE DATARuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 27th, 2019, 14:31 #20
Hi All,
Managed to fix this, just testing and retesting.
I'm adding a DB handler to the 'onChildUpdate' which then fires off the onSourceUpdate as well, going to add this into 1.0.8 (as I'm working on 1.0.9 atm).
Phew, hope this solves it all.
Reminded me I need to work out why removing from Equipment isn't removing the action. I'll add this to my 1.0.9. list.
CheersRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks