RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

>>>>> Sintax!!!!! <<<<<

fenris

Wanderer
>>>>> Sintax!!!!! <<<<<

krrios, is there any chance of you helping us out by releasing some kind of .doc with the functions sintax? PLZ? :(

for example: is i want a NPC to wander through the map what should i send to the script? something like this? :

on agressive.cs
[code:1]
...
if ( m_Owner.Combatant == null )
{
this.Interval = TimeSpan.FromSeconds( 5.0 );
this.Priority = TimerPriority.OneSecond;
m_Owner.Move( m_Owner.GetDirectionTo(???) | Direction.Running);
}
...
[/code:1]

is that right? I don't know what .Move is supposed to receive as parameters
 

LordHenry

Wanderer
I don't need learn C#.

I need examples :)

Someone should give us example(s) for all commands and languages construction.
 

fenris

Wanderer
So Sicklab can you gimme a hand?
how would you do if you wanted to make a NPC to wander through the map?
 

Kardall

Wanderer
Why not just take a script that you've seen in POL/Sphere/Wolfpack or something, and re-write it to work with RunUO?

Or if you don't want to do that, make it pick 8 random #'s, X times a minute (depending on how fast you want him to move).

Each # generated is a direction, have him move in that direction.

I dunno... just my thought.
 
Top