"Player types a message" problem

GameOver[GR]

New Member
Reaction score
11
I can not use a variable on :
Trigger:
  • Player - <need the variable> types a chat message containing <my message> As exact match.


I have a variable called Host (Type of variable = Player), but i can not use it on the above line of trigger, why ?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Because events are created before those variable are set (Or even created :S) so there's no use of them there...

But you can always use a second trigger to, when you know the value of the "Host" variable, add the event to that trigger :D
 

GameOver[GR]

New Member
Reaction score
11
Alright, but it is the first time i'll do this so could you please give me an example ? I made the trigger to set the variable, then ?
 

fr0ggE

New Member
Reaction score
1
for Events: use every Player that a human can control
for Conditions: Triggering Player = Host (your variable)

you have to set Host to be the correct player somewhere else (like at Initialization)
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top