Register
FAQ
Members List
Calendar
Search
RunUO - Ultima Online Emulation
>
RunUO
>
Script Support
How do i change to say...
Remember Me?
Script Support
Get support for modifying RunUO Scripts, or writing your own!
Thread Tools
Display Modes
09-09-2003, 04:30 PM
#
1
(
permalink
)
milonix
Join Date: Aug 2003
Age: 29
Posts: 266
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/
09-09-2003, 04:38 PM
#
2
(
permalink
)
Nagash
Forum Novice
Join Date: Mar 2003
Posts: 246
guess you must make it a string, or chance the localizade message number(which is what gives you the message)
09-09-2003, 04:42 PM
#
3
(
permalink
)
milonix
Join Date: Aug 2003
Age: 29
Posts: 266
Tjhat what im asking whats the msg number?
__________________
Vote please!
http://rhydin.cjb.net/
09-09-2003, 04:49 PM
#
4
(
permalink
)
Cmonkey123
Join Date: May 2003
Posts: 2,848
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.
09-09-2003, 04:52 PM
#
5
(
permalink
)
Phantom
Account Terminated
Join Date: Sep 2002
Age: 26
Posts: 3,846
use SendMessage(string) instead of SendLocalizedMessage
09-09-2003, 05:15 PM
#
6
(
permalink
)
milonix
Join Date: Aug 2003
Age: 29
Posts: 266
so like
SendMessage(What i want to say here?)
__________________
Vote please!
http://rhydin.cjb.net/
09-09-2003, 05:17 PM
#
7
(
permalink
)
Phantom
Account Terminated
Join Date: Sep 2002
Age: 26
Posts: 3,846
Use the correct syntax.
09-09-2003, 07:18 PM
#
8
(
permalink
)
Voran
Forum Expert
Join Date: Oct 2002
Age: 26
Posts: 1,797
[code:1]state.Mobile.SendMessage( "Value too high. 0-65 only");
[/code:1]
09-09-2003, 08:39 PM
#
9
(
permalink
)
Cmonkey123
Join Date: May 2003
Posts: 2,848
If you wanted the mobile to say that, you would do the same, but instead of sendmessage you would just put "Say".
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Contact Us
-
RunUO Gaming Network
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by
vBSEO
3.2.0 RC5