New triggers shortly explained [PB2 update!]

Tutorials and guides for Plazma Burst and community features.

Re: New triggers shortly explained [PB2 update!]

Postby FABOSS » 6 September 2020, 01:43

Can string variables actually be used as containers? If its not possible it would be really cool
Code: Select all
SetHint( Text , "0" );
VarSetValue( "Text", "Epic Gamer Text" );

FABOSS
 
Posts: 2
Joined: 5 September 2020, 04:48
Location: Hell

Re: New triggers shortly explained [PB2 update!]

Postby Nyove » 7 September 2020, 16:21

Hey FABOSS,

Trigger actions that does not explicitly state the usage of variables will not work with variables.
Exceptions are the show text as well as the show hint trigger actions. Therefore, in your case, it will work if you set a variable before using the show hint trigger action.

Because of this, it is a good practice to name your variables with a symbol prefix, for an example ~Text, so if you want to print the literal String 'Text', the trigger will treat it as a literal String and not a variable.

Best regards,
Nyove
Proud to be part of something meaningful.
Need any assistance? Join the PB2 discord server at https://discord.com/invite/Bhe9rNz or raise a support ticket at https://www.plazmaburst2.com/support

Contact me on discord for quickest reply possible.

User avatar
Nyove
Moderator
 
Posts: 255
Joined: 7 July 2016, 10:26
Location: Cicada 3301

Previous

Return to Tutorials

Who is online

Users browsing this forum: No registered users