Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

FloatStreak

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About FloatStreak

  • Rank
    Rookie
  1. I mean, the action is what makes the dialog appear. However, the player should run through a trigger first, to "unlock" a certain line that you would not hear, if you would have not run through that trigger before. I'm looking for a way to set this as a condition in order to unlock that sentence. I try to explain this again: There's a trigger, which activates the action, that activates the dialog. Then there's another trigger the player needs to run through, which is the condition in order to unlock a "secret message" inside of the dialog. And I'm trying to achieve this. ... is that sort of helpful? ^^
  2. Hello, pierremgi. Thanks for the fast reply. Just to make this a bit more clear, you can orient on this image. (I'm not an artist by the way) https://media.discordapp.net/attachments/712243474002608199/973265267754930186/unknown.png I hope this helps in some way...
  3. Hello, fellas. I am looking for a way to implement an alternative text that appears in the side chat, which depends on wether the player walked through a trigger, or not. I was thinking of something like this. //TLDR: DON'T USE THIS SCRIPT. IT'S NOT WORKING. act_unitDialog = player addAction ["<t color='#ecc47e'>Interact with Unit</t>",{ player removeAction act_unitDialog; deleteVehicle intSurvivor; pvc_officer_injured1 sideChat "Text 1"; sleep 2.63; pvc_officer_injured1 sideChat "Text 2"; sleep 3; pvc_officer_injured1 sideChat "Text 3"; sleep 1; if (passedTrigger == 1) then { player sideChat "This text appears, because you walked through a trigger."; }; if (passedTrigger == 0) then { }; }]; So this is how I think it could work. Here's a short list of what the variables mean: intSurvivor = The Trigger Name. act_unitDialog = The Variable for the action. pvc_officer_injured1 = The unit I am talking to. pvc = Shortcut of my name that I use in basically everything. passedTrigger = The trigger you need to pass in order to trigger the text. I'm relatively unexperienced in scripting, and I could use some help with that. Thanks in advance. 🙂 - Collo
×