Scenario Instructions Are Missing In Tsw But Not In The Editor

Discussion in 'PC Editor Discussion' started by SpamIstCool, Jan 27, 2025.

Tags:
  1. SpamIstCool

    SpamIstCool New Member

    Joined:
    Oct 1, 2022
    Messages:
    3
    Likes Received:
    1
    Hello,

    I’ve created a scenario using the Editor that includes a WaitBP to display instructions to the player. After that, I guide the user to the train using a SeatBP, which prompts the player to take the driver's seat.

    Everything works perfectly when I test the scenario in the Editor. However, when I cook the scenario and try to play it in the actual game, the instructions do not appear as intended. Instead, the game jumps directly to the instruction for the player to open the doors, which should only show up after taking the seat in the train.

    This behavior is quite puzzling. Does anyone have any insights into what might be causing this issue? I’ve attached my code for reference.

    Thank you for your help!

    [​IMG]
     
  2. CFTFC

    CFTFC Active Member

    Joined:
    Apr 18, 2020
    Messages:
    189
    Likes Received:
    209
    I don't know if they fixed this in TSW5 Editor but when I made my scenarios in TSW4 I had to create a child of the WaitBP. If that is still the case did you move this to your plugin (required) or did you leave it in the core folder (the PIE can read this file but the game can not).
     
  3. josh_the_tech

    josh_the_tech Active Member

    Joined:
    Dec 9, 2016
    Messages:
    256
    Likes Received:
    158
    Your player service, is it referenced in your Scenario Definition as a player only train? If not, you must do so for the objectives to work.
     
  4. SpamIstCool

    SpamIstCool New Member

    Joined:
    Oct 1, 2022
    Messages:
    3
    Likes Received:
    1
    I solved the issue. The problem was I needed a child of WaitBP but the child of the WaitBP was not in my scenario folder that’s why it was not working after cooking my scenario. I just created the child of WaitBP in my scenario folder and then it works.
     
    • Like Like x 1
    • Helpful Helpful x 1

Share This Page