1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] <player name> + text string

Discussion in 'Triggers & Scripts' started by Mallaboro, Feb 11, 2010.

  1. Mallaboro

    Mallaboro

    Joined:
    Dec 8, 2008
    Messages:
    228
    Resources:
    0
    Resources:
    0
    The first part of this trigger isn't working. It doesn't display the players name, it just leaves it blank. I've only tested this while running the game from World Editor and just now on LAN against bots (with a player name I should add).

    Is there an alternative to ((Name of (Triggering player)) + <written text>?
    String function I'm using is Concatenate Strings.

    • Then - Actions
      • Quest - Display to (All players) the Quest Update message: ((Name of (Triggering player)) + has accepted the team quest: |cff32cd32Protect Borealis|r. See Quest Log for objectives.)
      • -------- next --------
      • Cinematic - Turn subtitle display override On
      • Cinematic - Disable user control for (Player group((Triggering player)))
      • Cinematic - Turn cinematic mode On for (Player group((Triggering player)))
      • Unit - Pause (Triggering unit)
      • Unit - Make (Triggering unit) Invulnerable
      • -------- next --------
      • Unit - Make (Triggering unit) face Weak Warlock 0041 <gen> over 0.25 seconds
      • Unit - Make Weak Warlock 0041 <gen> face (Triggering unit) over 0.25 seconds
      • Camera - Apply Quest 0 Camera <gen> for (Owner of (Triggering unit)) over 0.00 seconds
      • Cinematic - Send transmission to (Player group((Triggering player))) from Weak Warlock 0041 <gen> named Weak Warlock:: Play No sound and display The town is under a.... Modify duration: Add 5.00 seconds and Don't wait
      • Wait 3.00 seconds
      • -------- next --------
      • Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.00 seconds
      • Cinematic - Enable user control for (Player group((Triggering player)))
      • Cinematic - Turn cinematic mode Off for (Player group((Triggering player)))
      • Cinematic - Turn subtitle display override Off
      • Unit - Unpause (Triggering unit)
      • Unit - Make (Triggering unit) Vulnerable
     
  2. Mallaboro

    Mallaboro

    Joined:
    Dec 8, 2008
    Messages:
    228
    Resources:
    0
    Resources:
    0
    Never mind, got it working. Thanks for taking the time to read this thread though, for those who did.
     
  3. Maximilianx

    Maximilianx

    Joined:
    Oct 14, 2008
    Messages:
    334
    Resources:
    0
    Resources:
    0
    What's your trigger's event?

    Edit: doh.