Fantasy Grounds Merchandise
Page 233 of 331 First ... 133 183 223 231 232 233 234 235 243 283 ... Last
  1. #2321
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by rmilmine View Post
    ok, I was able to get the ActionManager.getTargeting is now working.
    I had to delete the character from the combat tracker and re-add the character, making sure it had a token and name. if it didn't have those it still didn't work.
    No rolling of dice happens, but I'm getting the targeting information before the roll happens.
    It looks like the targeting is now working. There must have been a disconnect between the combat tracker and the character that was causing the issue.
    I must have done something to break it at some point and didn't notice.
    Thanks, and sorry.
    I have had stuff like that happen to me - very frustrating.

  2. #2322
    Is there a way to ignore targets? There are actions, like spell drain that do not care about targets, and so should only show once.
    I can think of a couple of ways to do it, but thought I would ask if there was a way that already exists.

  3. #2323
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Im not sure what you mean?
    Dont include targeting actions in your roll.
    Or are you wanting to drop a target based on some condition?

  4. #2324
    I want to exclude all targeting in some rolls. I'm guessing there is something somewhere that excludes targeting that I'm not aware of.

  5. #2325

  6. #2326
    Quote Originally Posted by damned View Post
    Its still unclear what you mean.
    Most rolls ignore targeting.
    Ah, then there is most definitely something I am missing because it seems all of the rolls I've seen so far seem to use targeting.
    The code I have is using ActionManager.performAction(draginfo, rActor, rRoll) and they seem to give me multiple results when I have 2 or more targets selected.

  7. #2327
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    I still dont understand what you are trying to do?
    If the player has multiple targets selected there is a reason for that.
    If they shouldnt be targeted then the player should fix that?

    have a look at manager_custom_ubiquity.lua as an example.

    function onLanded(rSource, rTarget, rRoll)
    is present but the rTarget data is not used.

  8. #2328
    Well, in this case, or at least with shadowrun a player may target multiple targets to do an attack with an area affect spell, say fireball.
    They cast that spell and roll 1 set of dice for all targets. Each target then resists the damage from the spell.
    The character then has to resist drain from the casting of the spell. I was thinking I could have them do this without having to clear targets.

  9. #2329
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    There are no current examples of this behavior in MoreCore at this time sorry.
    There are lots of ways you could approach this but nothing that exists in MoreCore to work from.

  10. #2330
    No worries, thanks for your help.

Page 233 of 331 First ... 133 183 223 231 232 233 234 235 243 283 ... Last

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Refer a Friend

Log in

Log in