Issue applying multiple entries with +targetId

Bug reports go here

Issue applying multiple entries with +targetId

Postby fubarbarian » Thu Sep 20, 2018 8:45 pm

I'm not sure if this is a bug or documentation problem. I'm trying to add multiple events to another using the data tag example here: http://curious-expedition.wikia.com/wik ... ng:General Halfway down the page.

For reference:
Code: Select all
   {
       targetId: +evt-village-actions-night::actions
       data: [
          "evt-village-actions-night-train",
          "evt-village-actions-night-test"]
   }


I've tried several ways and the new entries fail. This or without quotes. When the entry is selected, the log reports an undefined key at 0 error:
Code: Select all
  {
    targetId: +evt-village-recruit-select-humanoid::select
    data: [
      "evt-village-recruit-human-test1",
      "evt-village-recruit-human-test2"
    ]
  }


I even tried a merge, but then the entries are never selected.
The only consistent way I've been able to add lines is one at a time:
Code: Select all
  {
    targetId: +evt-village-recruit-select-humanoid::select
    ref: evt-village-recruit-human-test1
  }
  {
    targetId: +evt-village-recruit-select-humanoid::select
    ref: evt-village-recruit-human-test2
  }


But I'd prefer to do them all at once if possible, since I have a list. :)
fubarbarian
 
Posts: 15
Joined: Sat Aug 04, 2018 7:29 am

Re: Issue applying multiple entries with +targetId

Postby riadd » Fri Sep 21, 2018 9:03 am

That's a good point. I think this functionality might be simply missing from our modding language. I'll create a ticket for it. Let me know if you need anything else!
User avatar
riadd
Curious Dev
Curious Dev
 
Posts: 843
Joined: Thu May 22, 2014 11:36 am
Location: Berlin

Re: Issue applying multiple entries with +targetId

Postby fubarbarian » Fri Sep 21, 2018 5:40 pm

Awesome, thanks!
fubarbarian
 
Posts: 15
Joined: Sat Aug 04, 2018 7:29 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests
cron