Set variable of player-initiator functions stops the trigger

Set variable of player-initiator functions stops the trigger

Postby MC Eiht » 21 May 2017, 17:53

Correct me, if I was wrong, I have a trigger like this:
Spoiler: Show More
Timer:
Launched on start: Yes
Max calls: 1 call
Delay: 0


Trigger:
Enabled: Yes
Max calls: 1 call
Action 1: Var > Set string-value of variable 'login' to displayed name of player-initiator.
Action 2: Interface > Show hint with text 'Greetings, login!'


And it isn't works at all! No variable change, no any trigger executions! :(

I was put this topic here, cause I don't know, it's a bug or not. :sorry:
User avatar
MC Eiht
 
Posts: 2
Joined: 20 May 2017, 21:14
Location: USA, Los Santos

Re: Set variable of player-initiator functions stops the tri

Postby Kiriakos Gr96 » 22 May 2017, 12:26

That not a bug seem like you used wrong trigger action
If you map is multiplayer then you use this action

If your map is simpleplayer then use this trigger action
User avatar
Kiriakos Gr96
Administrator
 
Posts: 619
Joined: 13 August 2013, 16:52
Location: Greece.

Re: Set variable of player-initiator functions stops the tri

Postby GiraRay » 15 July 2017, 13:47

The player indicator is the player that activates the trigger. In your case, a timer activates the trigger and thus, nothing happens except for the text "Greetings, login!" will appear.
To fix this, you want to make the player activate it. Since it's launched at the start means that you'll have to make a region where the player spawns and make the region activate the trigger if the player is in it. Because the player spawns immediately in that region, the trigger will be launched at the very start of the game and variable "login" will become the name of the player indicator.
http://plazmaburst2.com/?s=9&a=&m=giraray-riddle1&id=826345
User avatar
GiraRay
Usurpation Soldier [50]
 
Posts: 72
Joined: 25 June 2015, 16:26


Return to Bug Reporting Archive

Who is online

Users browsing this forum: No registered users