Teleporting Entities doesn't work?

Discussion in 'Empyrion API' started by heyitsmk, Mar 6, 2021.

  1. heyitsmk

    heyitsmk Ensign

    Joined:
    Feb 20, 2021
    Messages:
    12
    Likes Received:
    8
    I'm trying to use the Request_Entity_ChangePlayfield command but no matter what I try my entities will not teleport to another playfield. Is this broken or am I missing something?
     
    #1
  2. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Both playfields have to be loaded.
     
    #2
  3. heyitsmk

    heyitsmk Ensign

    Joined:
    Feb 20, 2021
    Messages:
    12
    Likes Received:
    8
    Awesome thanks, its working now.

    Do you happen to know how to determine if a structure is powered on or not? GlobalStructureInfo.powered returns false regardless of the state of the power switch in the menu.
     
    #3
  4. heyitsmk

    heyitsmk Ensign

    Joined:
    Feb 20, 2021
    Messages:
    12
    Likes Received:
    8
    Using Request_GlobalStructure_Update worked, the API2 method and Request_GlobalStructure_List methods do not work to determine powered state.
     
    #4

Share This Page