Would it be possible to set up as part of a trigger that the specified player has to press a key, like space, before the next action fires? If so, how? I want to use this during a character's speech so they player can advance the text when ready so I don't have to time it out.
but this is only good for 1 player. Otherwise you would have to put variable in array, and run speech thing per player, shown only for that specific player
Global Boolean variable which means you right click on left column (where triggers are) select 'New > New variable'
Name and select this new variable, change it's type to Boolean (Boolean can be true or false, it's like yes/no)
'Actions Variable - Set BooleanSkip = True' : You click new action in your trigger, first thing highlighted will be "set variable" add it, click green underlined text saying 'variable', select your Boolean variable which you created before, click green underlined 'value', here you can check little check-box to be true or false;
for condition you use comparison condition, as value 1 you give your Boolean variable, as value 2 you click check-box to set it to true;
If there is only one player, you there is no need to use the boolean variable. The trigger "SpaceCheck" could be set up without any action. You only have to
use in the play transmission trigger
General - wait for Trigger to execute and wait/don't wait until it completes
→
(Trigger is SpaceCheck, and the wait condition does not matter in this case)
instead of
General - wait for (Conditions), checking every 0.5Game Time seconds
Side note
To use the event in a multiplayer game
"UI - Player Any Player presses Space key Down with shift Allow, control Allow, alt Allow"
is not very wise, because Blizzard warns
Quote:
Only register for this event when you absolutely need it, as it will generate network traffic from all players for every key they press.
it would be better to use a custom dialog with buttons "Repeat transmission", "Next transmission", "Skip transmission" or something like that.
Would it be possible to set up as part of a trigger that the specified player has to press a key, like space, before the next action fires? If so, how? I want to use this during a character's speech so they player can advance the text when ready so I don't have to time it out.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
You could set up 2 triggers because you can't detect key press without initial event. (unless there is a simpler way)
This check for space press and change Global Boolean variable (default false)
This is how your speech trigger would look like then
but this is only good for 1 player. Otherwise you would have to put variable in array, and run speech thing per player, shown only for that specific player
@Nerfpl: Go
Having trouble finding this trigger action:
Actions Variable - Set BooleanSkip = True
Is it the "store boolean" action? If so, what do I put for "key" and "section" since i don't see them listed in your trigger.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Nerfpl: Go
Also I'm not sure how to set a new condition that isn't a thing like "and," "not" or "or." Can't seem to set the BooleanSkip
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Global Boolean variable which means you right click on left column (where triggers are) select 'New > New variable'
Name and select this new variable, change it's type to Boolean (Boolean can be true or false, it's like yes/no)
'Actions Variable - Set BooleanSkip = True' : You click new action in your trigger, first thing highlighted will be "set variable" add it, click green underlined text saying 'variable', select your Boolean variable which you created before, click green underlined 'value', here you can check little check-box to be true or false;
for condition you use comparison condition, as value 1 you give your Boolean variable, as value 2 you click check-box to set it to true;
@Nerfpl: Go
If there is only one player, you there is no need to use the boolean variable. The trigger "SpaceCheck" could be set up without any action. You only have to
General - wait for Trigger to execute and wait/don't wait until it completes
General - wait for (Conditions), checking every 0.5 Game Time seconds
Side note
To use the event in a multiplayer game
UI - Player Any Player presses Space key Down with shift Allow, control Allow, alt Allow
"is not very wise, because Blizzard warns
it would be better to use a custom dialog with buttons "Repeat transmission", "Next transmission", "Skip transmission" or something like that.