Modding Help Any way to restrict player input programmatically?

Discussion in 'Starbound Modding' started by Kaidesa, Jul 12, 2020.

  1. Kaidesa

    Kaidesa Scruffy Nerf-Herder

    I'm basically working on something which will inflict a sort of paralysis on players and have been unable to find a status effect which will keep players completely unable to move while in an animation sequence.

    Is there any way to restrict players from attacking or interacting with objects for a short period of time?
     
  2. projectmayhem

    projectmayhem Spaceman Spiff

    There is paralyze, but i think it just keeps you from moving. I cant recall if you can still attack/interact
     
  3. Kaidesa

    Kaidesa Scruffy Nerf-Herder

    Yeah, attacking/interacting/moving should all be a no for like ten to fifteen seconds with what I wanted to get accomplished. Paralyze does not seem to restrict interactions aside from moving, so I'm afraid that wouldn't work. Any other suggestions?
     
  4. TheElderScroller

    TheElderScroller Pangalactic Porcupine

    To restrict interactions you need a dummy quest I think. Quest scripts can disable interaction events. Not sure if you can make the quest invisible in the journal or if there is another solution...
     

Share This Page