Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2010, 10:14 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
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?
__________________
Reply With Quote
  #2  
Old 02-24-2010, 10:26 PM
Immolate Immolate is offline
Indigo
Join Date: Dec 2009
Posts: 322
Immolate is on a distinguished road
Quote:
Originally Posted by xAndrewx View Post
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"
Reply With Quote
  #3  
Old 02-25-2010, 09:56 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
oh thats cool- what other log types are there?
__________________
Reply With Quote
  #4  
Old 02-25-2010, 10:59 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Well I think there's the RPG echo, the built-in echos(debugging from the client), and print?
Reply With Quote
  #5  
Old 02-25-2010, 01:53 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Reply With Quote
  #6  
Old 06-14-2010, 05:17 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
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
__________________
Reply With Quote
  #7  
Old 06-14-2010, 07:44 PM
FBI FBI is offline
Graal Legend
FBI's Avatar
Join Date: May 2010
Location: Graalians Discord
Posts: 65
FBI will become famous soon enough
Thank you, this will be very useful for my pw.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:43 AM.


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