Display names using room_RepExec()

Started by Deep Dark Fears, Mon 07/05/2018 21:06:34

Previous topic - Next topic

Deep Dark Fears

As the title say, I want to display names using room_RepExec() but I need help. I have a bool global variable called IsDisplayNamesButtonPressed and a button for that. If the player clicks on button, then it set that variable to true value. And now I want to use room_RepExec() to check the value of variable. If variable is true, then the names are displayed on screen. My problem is, when I put this in room_RepExec() its not working but when I put this in GlobalScript then it works fine. Why?

Vincent

Very quickly answer. Go to the events into the room and re-link the event rep_exe by pushing the button "..." like in this image!



If that doesn't work then erase your function rep_exe of the room and re-link it once again.

Deep Dark Fears



SMF spam blocked by CleanTalk