Data Realms Fan Forums http://45.55.195.193/ |
|
Frameman:Setscreentext bad arguments? http://45.55.195.193/viewtopic.php?f=73&t=25998 |
Page 1 of 1 |
Author: | Squeegy Mackpy [ Thu Oct 27, 2011 1:55 pm ] |
Post subject: | Frameman:Setscreentext bad arguments? |
I'm sure I'm doing something simple and stupid here. I needed to display a message, so I copied the line Code: FrameMan:SetScreenText("Your brain has been lost!", player, 0, -1, false) and pasted it elsewhere inside a triggered event, and all I changed was the string. Code: FrameMan:SetScreenText("Deployer touching down!", player, 0, -1, false) I get an error when the trigger is activated saying: |
Author: | Roast Veg [ Thu Oct 27, 2011 3:24 pm ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
It seems to be suggesting that the string "player" is nil. what should it be equal to? |
Author: | Squeegy Mackpy [ Fri Oct 28, 2011 3:54 pm ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
Fixed now, realised I never actually set player to anything. |
Author: | Squeegy Mackpy [ Sat Oct 29, 2011 4:38 pm ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
I have another issue, and I don't think its really worth a second thread. This one I have no Idea what's wrong. The text only appears for what appears to be a single frame when it should be 5 seconds. Code: FrameMan:SetScreenText("Drop Cradles! Incoming!", Activity.PLAYER_1, 400, 5000, false) |
Author: | Squeegy Mackpy [ Thu Dec 08, 2011 5:54 am ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
I'd hate to make a triple post, but its been a few months and I've finally resumed work on this and im being held back by this issue in particular. Any help? |
Author: | Roast Veg [ Thu Dec 08, 2011 5:48 pm ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
Try using a timer instead. |
Author: | Squeegy Mackpy [ Thu Dec 15, 2011 8:29 am ] |
Post subject: | Re: Frameman:Setscreentext bad arguments? |
Things like this will soon become obvious to me. It works now, all I had to do was Self:ResetMessageTimer(). |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |