Thread: CT linkPCFields question
-
August 28th, 2019, 06:00 #1
- Join Date
- Apr 2009
- Location
- Fullerton, CA.
- Posts
- 625
CT linkPCFields question
Is it possible to use the function linkPCFields() in ct_entry.lua to link more than strings and numbers? I want to link to a short list. In the 40k MultisetRules the weapons are too complicated to use an attack line style in the CT. I want to grab a filtered weapon list from the charsheet for use in the CT.
Any ideas? I know setLink within the linkPCFields() function points to the number_ct_crosslink template. I was thinking of a new script based on setLink to handle a list. What is a list in terms of type (i.e. number, string, windowreference, dice, etc?
I am reaching here, concepts or ideas to try are welcome.Last edited by Paul Pratt; August 28th, 2019 at 08:05.
-
August 28th, 2019, 13:43 #2
Hi Paul
Have you had a look at the 2E ruleset?
celestian brings something more like the PC actions into the CT for NPCs...
Possibly Im misremembering a little.
And as I finish typing... why do you want PC actions in the CT? PCs are generally too complex to run from the CT.
And NPCs only live in the CT so they dont need a link function?
-
August 28th, 2019, 15:14 #3
- Join Date
- Apr 2009
- Location
- Fullerton, CA.
- Posts
- 625
damned,
I have looked at 2E. I even had some insights looking at the party sheet in 3.5 bringing in skills.
In my 40k rule set, I use linkPCFields() to link to the NPC's various stats, but they only reside in the CT and are a unique instance. I only want the weapon list for NPC's, I just don't see a way of mapping or drop handling a list. So, I was wondering about linking.Last edited by Paul Pratt; August 28th, 2019 at 16:20.
-
August 29th, 2019, 02:14 #4
In MoreCore the list of Rolls is added to NPCs in the CT - you could see if that code helps any?
-
August 29th, 2019, 03:00 #5
- Join Date
- Apr 2009
- Location
- Fullerton, CA.
- Posts
- 625
Oh really? That could help. Thanks for the tip!
-
August 29th, 2019, 07:51 #6
- Join Date
- Apr 2009
- Location
- Fullerton, CA.
- Posts
- 625
Thank you damned! Looking at the rolls list helped. It would have never occurred to me to handle the list that way. NPC weapon's are now displaying in the CT, thank you!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks