sciencephile
September 7th, 2013, 20:53
Greetings, I am creating a ruleset where there are a static list of skills. I also have a reference library that I created to give the definitions of these skills (along with a lot of other game info).
It works to drag from the library to the reference link (because I can take the draginfo information and set it to the database node.
The question is whether anyone knows if one can automatically initialize these reference links to the reference library references (say within the OnInit() function or something similar). It should also test to see if the reference library exists.
Simplified pseudocode:
if reference_library exists then
skill_reflink.setValue(reference_library.link);
end
If it is not possible, no big deal - I can continue to leave it manual. Just thought it would be good to have links automatically generated when the character is created since they never change.
Thanks,
Danny
It works to drag from the library to the reference link (because I can take the draginfo information and set it to the database node.
The question is whether anyone knows if one can automatically initialize these reference links to the reference library references (say within the OnInit() function or something similar). It should also test to see if the reference library exists.
Simplified pseudocode:
if reference_library exists then
skill_reflink.setValue(reference_library.link);
end
If it is not possible, no big deal - I can continue to leave it manual. Just thought it would be good to have links automatically generated when the character is created since they never change.
Thanks,
Danny