HUDset is not printing strings

Description: Report bugs of SMBX-38A here.
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Yoshi021 M
Topic author, Moderator
Moderator
Avatar
Yoshi021 M
Topic author, Moderator
Moderator
Age: 19
Reputation: 138
Posts: 675
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #1by Yoshi021 » 4 Sep 2017, 21:51

For some reason trying to print text using the HUDset command doesn't work. This is what I tried:

Code: Select all

str(myVar) = "hello!"
call HUDSet("initialize", 0, 0, 0, 0, 0, 0, 0, 0, 0)
call HUDSet("text:&str(myVar)", 1, 10, 10, 28, 255, 10, 184, -1, -1)
call TxtCreate(2, 100, 100, 28, 255, 0, 10, 184, 1,str(myVar))


The TxtCreate printed "hello!", but the HUDSet command printed 0.
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:

Catskart M
Count
Count
Avatar
Catskart M
Count
Count
Age: 20
Reputation: 144
Posts: 260
Joined: 29 Nov 2015
Location: France

Post #2by Catskart » 5 Sep 2017, 21:49

try to write only str(myVar) instead.


Return to “Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 11 guests