Results 1 to 2 of 2

Thread: .getSelectedObjects() Issue

  1. #1

    .getSelectedObjects() Issue

    Simple issue I've ran into that should be an easy fix.

    When a player selects a card and that card becomes a deck without that player deselecting the card, the Player class .getSelectedObjects() returns -1.

    Would it be possible to have a check before returning .getSelectedObjects(), and if the GUID is -1, behave as if no object is selected (or actually clear the player selection)?

  2. #2
    I think it's extenstion of this bug:

    since when a card merges in a deck, it;s technically destroyed. So we're still getting bugs with Player.getSelectedObjects() if anything selected got destroyed.

Similar Threads

  1. [CRASHES] Is this a Ram Issue
    By bpdonnelly2 in forum Technical Support
    Replies: 2
    Last Post: 11-30-2017, 04:49 PM
  2. getSelectedObjects() errors out on items in bags
    By arieswind in forum Scripting Bug Reports
    Replies: 2
    Last Post: 10-16-2017, 07:16 AM
  3. [SOLVED] Controller Issue
    By crazycdchris in forum Technical Support
    Replies: 2
    Last Post: 02-10-2017, 09:38 AM
  4. Hotseat Issue
    By SwiftPanda in forum Scripting
    Replies: 1
    Last Post: 07-08-2016, 10:42 PM
  5. [SOLVED] Loading issue
    By Kajigger in forum Technical Support
    Replies: 3
    Last Post: 01-24-2016, 03:56 PM

Posting Permissions

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