Thread: Update 1.0.7.
-
September 28th, 2018, 13:14 #21
Definitely! I have to get transportation sorted out - I'll let you know when I do!
This example is from a control, but you could use onInit and onClose for a window, subwindow, etc. as well.
Code:function onInit() super.onInit(); local nodeChar = window.getDatabaseNode(); DB.addHandler(DB.getPath(nodeChar, "traitlist.*"), "onAdd", onTraitsUpdated); DB.addHandler(DB.getPath(nodeChar, "traitlist.*.name"), "onUpdate", onTraitsUpdated); end function onClose() local nodeChar = window.getDatabaseNode(); DB.removeHandler(DB.getPath(nodeChar, "traitlist.*"), "onAdd", onTraitsUpdated); DB.removeHandler(DB.getPath(nodeChar, "traitlist.*.name"), "onUpdate", onTraitsUpdated); end
Last edited by Trenloe; September 28th, 2018 at 13:18.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 28th, 2018, 13:16 #22
Ah cool, I'm originally from Peterborough and have family in Leicester, not been there for years (except through it on the train to London).
You don't owe me beer, you help me and others find these niggly issues and help sort them.
So if you're ever up in Sheffield hit me up for a beer, or three.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!
-
September 28th, 2018, 13:20 #23Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
September 28th, 2018, 14:35 #24
-
September 28th, 2018, 14:37 #25Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
September 28th, 2018, 14:51 #26
- Join Date
- May 2017
- Posts
- 237
Haha, whilst I'm awake i'm in a pub, reminds me, must take off the Monday.Ultimate License, Classic & Unity, Currently Running Fortnightly, 5E Land of Fate, 5E Vale of Shadows, 5E Pages of Darkness, 5E Izramurs lingering Gift, 5E Jotunhammer, 5E Terror Loch Tower, 5E Spellbinder, MGT2 Pirates of Drinax, 5E Storm Giants Thunder, 5E Winters Curse, 5E Catacombes of Sunless Sorrows
-
September 28th, 2018, 20:16 #27
Ah, a Sheffielder! I got friends in Leeds. Myself, I am from Austria...
-
September 29th, 2018, 00:06 #28
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Ah, another Austrian! :-)
-
September 29th, 2018, 11:24 #29Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
October 1st, 2018, 08:56 #30
A thing I realized is, that if I create a new weapon, I have no option to add the base skill in the definition of the specs. Am I missing something?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks