Jump to content
Sign in to follow this  

Show Text in front of player


Peaverin
  • Version: Beta 4 New Issue Suggestion

It would be nice to have the possibility of showing text in front of the player (could be local or global) in the events editor. Like this:

30c13f48bf5ed868f44b7ebea5f0f479.png

It is useful if you want player to notice something without stoping him from moving or attacking (like the "show text "option does).

This is just a suggestion I know you guys have already a lot of work fixing bugs and doing more important things.

Sign in to follow this  


User Feedback

Recommended Comments

@Peaverin , @PinkAngel, @Rayslay

 

At this moment you could make a global event 'Text on player' without any trigger (with condition "Player variable 'Text player is higher than 0'") with a player variable and some conditionnal banch.

 

Then make many animation of only one frame as you want-> one .png for one text. -> player variable 'Text player' at 1 give the text 1....

 

Put some event on maps which will set the variable 'Text player' then activate the event 'Text on player'

 

so in your event would looks like:

 

if player variable 'Text player' is egal to 1 then:

         Play animation Text_1 on top of the player

         Wait X ms (time of the animation)

         Set player variable Text player to 0

   Else

         if player variable 'Text player' is egal to 2 then:

                  Play animation Text_2 on top of the player

                  Wait X ms (time of the animation)

                  Set player variable Text player to 0

             Else

                  .....

 

 

 

Share this comment


Link to comment
Share on other sites
4 hours ago, Gibier said:

@Peaverin , @PinkAngel, @Rayslay

 

At this moment you could make a global event 'Text on player' without any trigger (with condition "Player variable 'Text player is higher than 0'") with a player variable and some conditionnal banch.

 

Then make many animation of only one frame as you want-> one .png for one text. -> player variable 'Text player' at 1 give the text 1....

 

Put some event on maps which will set the variable 'Text player' then activate the event 'Text on player'

 

so in your event would looks like:

 

if player variable 'Text player' is egal to 1 then:

         Play animation Text_1 on top of the player

         Wait X ms (time of the animation)

         Set player variable Text player to 0

   Else

         if player variable 'Text player' is egal to 2 then:

                  Play animation Text_2 on top of the player

                  Wait X ms (time of the animation)

                  Set player variable Text player to 0

             Else

                  .....

 

 

 

Thanks! It is an original way to deal with this while its not implemented, but I still think it would be a nice addition so you don't have to create an image for every text.

Share this comment


Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...