Hi Monkey
if I try to do a display, say or saybackground it hangs.
I know i have Wait.
cheers
if I try to do a display, say or saybackground it hangs.
I know i have Wait.
cheers
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function repeatedly_execute()
{
//IF USER TRIES TO TYPES IN TOO MANY CHARACTER
if(tbInput1.Text.Length > 15) {
tbInput1.Text="Maximum 15 characters";
Wait(100);
tbInput1.Text="Please enter Name";
Wait(100);
tbInput1.Text="";
}
if(tbInput1.Text.Chars[tbInput1.Text.Length 15])
function Button11_OnClick(GUIControl *control, MouseButton button)
{
if (tbInput1.Text != "")
{
player.Name = tbInput1.Text;
gName.Visible=false;
player.Name = tbInput1.Text;
Leddie.Text = String.Format("%s", player.Name);
ggameonfo.Visible=true;
}
else
Display("You can't be the Nameless One!");
}
player.Name = tbInput1.Text;
Leddie.Text = String.Format("%s", player.Name);
Leddie.Text="%s";
Leddie.Text ="%s, player.Name";
QuoteEg If your character steps on a region for example, you could have him tint to green / red etc. and remove tint when he steps off it.
Character.Tint(int red, int green, int blue,
int saturation, int luminance)
Tints the character on the screen to (RED, GREEN, BLUE) with SATURATION percent saturation.
This function applies a tint to a specific character. For the meaning of all the parameters, see SetAmbientTint.
The tint set by this function overrides any ambient tint set for the room. For this reason, passing the SATURATION as 0 to this function does not turn it off - rather, it ensures that no tint is applied to the character (even if an ambient tint is set).
To remove the tint set by this function and return to using the ambient tint for this character, call RemoveTint.
NOTE: This function only works in hi-colour games and with hi-colour sprites.
Example:
cEgo.Tint(0, 250, 0, 30, 100); // replace cEgo with your character name.
will tint the EGO character green.
player.x = mouse.x;
player.y = mouse.y;
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.111 seconds with 14 queries.