Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   onLogMessage(str, float, float, float, str) (https://forums.graalonline.com/forums/showthread.php?t=134258162)

xAndrewx 02-24-2010 10:14 PM

onLogMessage(str, float, float, float, str)
 
HTML Code:

onLogMessage(str, float, float, float, str)
What this function? The description is
"event - log message: text, red, green, bl"

Is it useful?

Immolate 02-24-2010 10:26 PM

Quote:

Originally Posted by xAndrewx (Post 1558497)
HTML Code:

onLogMessage(str, float, float, float, str)
What this function? The description is
"event - log message: text, red, green, bl"

Is it useful?

When I call the echo() function clientside, onLogMessage() is triggered and it gives the text, colours and type of log message. In the case of echo("Toad in the hole"); it'd be:
PHP Code:

text "Toad in the hole";
red 1;
green 0;
blue 1;
logType "echo"


xAndrewx 02-25-2010 09:56 AM

oh thats cool- what other log types are there?

DustyPorViva 02-25-2010 10:59 AM

Well I think there's the RPG echo, the built-in echos(debugging from the client), and print?

Admins 02-25-2010 01:53 PM

There are "game","files","scripts","net", "graphics","sounds" like the log window tabs.
Other types are "tiles", "capture", "scripterrors", "flash", "plugins" but those messages are put in the graphics or scripts tab.

Crow 06-14-2010 05:17 PM

Quote:

Originally Posted by Stefan (Post 1558767)
There are "game","files","scripts","net", "graphics","sounds" like the log window tabs.
Other types are "tiles", "capture", "scripterrors", "flash", "plugins" but those messages are put in the graphics or scripts tab.

Sorry, bump. You forgot the "echo" type :p

FBI 06-14-2010 07:44 PM

Thank you, this will be very useful for my pw.


All times are GMT +2. The time now is 07:37 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.