|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Mar 2005
Age: 19
Posts: 78
|
I just went through a series of video tutorials for C# over at the msdn, and I'm looking to learn and get better. I figured a practical use that won't bore me would be working here, so, well, here I am! Ok, so how do I make myself useful now =P
|
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
I'd say that a good way to start learning is by examining current scripts, and use those to create your own. Eventually over time you will get used to a lot of the custom methods that are built in to RunUO.
If you are writing a script and you can't think of how to do something, think about something that is already scripted that is similar. Find that script, understand it, see how it is done, and use that to help you write yours. If you run across errors that you just can't seem to fix, a good use of the Search button is a good way to start here on the forums, then if you can't find anything, post a thread in the Script Support section and post what you have tried, the errors that you are getting, and what you want the script to do. As long as you stay within the forum rules, people will be more than glad to help you out. |
|
|
|
|
|
#3 (permalink) |
|
Newbie
Join Date: Mar 2005
Age: 19
Posts: 78
|
I was looking at scripts for monsters, and had a quick question.
When listing an attribute such as strength, there are two values, ex: (100,125). If that just saying that the strength can be anywhere from 100-125, no more and no less? Thanks |
|
|
|
|
|
#4 (permalink) | |
|
Forum Expert
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
|
Quote:
|
|
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
|
SetStr(100, 125);
SetStr = Custom RunUO method. It is not a normal or preset method within the C# programming language. That method (most likely) contains two variables. Minimum and Maximum. Think of it like: SetStr(int min, int max). Keep in mind I could be very wrong, I haven't looked at RunUO monster code in a while. -Storm
__________________
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|