Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 09-09-2003, 04:30 PM   #1 (permalink)
 
milonix's Avatar
 
Join Date: Aug 2003
Age: 29
Posts: 266
Send a message via AIM to milonix
Default How do i change to say...

How do i change the number in this code to make it say 65 not 100


[code:1]
state.Mobile.SendLocalizedMessage( 502452 ); // Value too high. 0-100 only
[/code:1]
__________________
Vote please!

http://rhydin.cjb.net/
milonix is offline   Reply With Quote
Old 09-09-2003, 04:38 PM   #2 (permalink)
Forum Novice
 
Join Date: Mar 2003
Posts: 246
Send a message via ICQ to Nagash
Default

guess you must make it a string, or chance the localizade message number(which is what gives you the message)
Nagash is offline   Reply With Quote
Old 09-09-2003, 04:42 PM   #3 (permalink)
 
milonix's Avatar
 
Join Date: Aug 2003
Age: 29
Posts: 266
Send a message via AIM to milonix
Default

Tjhat what im asking whats the msg number?
__________________
Vote please!

http://rhydin.cjb.net/
milonix is offline   Reply With Quote
Old 09-09-2003, 04:49 PM   #4 (permalink)
 
Join Date: May 2003
Posts: 2,848
Default

Get the cliloc viewer from the downloads section and you can look up the numbers to see if there is one for 65 or whatever you want. Otherwise, you'll just have to change it to a string.
Cmonkey123 is offline   Reply With Quote
Old 09-09-2003, 04:52 PM   #5 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

use SendMessage(string) instead of SendLocalizedMessage
Phantom is offline   Reply With Quote
Old 09-09-2003, 05:15 PM   #6 (permalink)
 
milonix's Avatar
 
Join Date: Aug 2003
Age: 29
Posts: 266
Send a message via AIM to milonix
Default

so like

SendMessage(What i want to say here?)
__________________
Vote please!

http://rhydin.cjb.net/
milonix is offline   Reply With Quote
Old 09-09-2003, 05:17 PM   #7 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Use the correct syntax.
Phantom is offline   Reply With Quote
Old 09-09-2003, 07:18 PM   #8 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

[code:1]state.Mobile.SendMessage( "Value too high. 0-65 only");
[/code:1]
Voran is offline   Reply With Quote
Old 09-09-2003, 08:39 PM   #9 (permalink)
 
Join Date: May 2003
Posts: 2,848
Default

If you wanted the mobile to say that, you would do the same, but instead of sendmessage you would just put "Say".
Cmonkey123 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5