Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 09-08-2006, 09:42 PM   #1 (permalink)
Forum Expert
 
IHaveRegistered's Avatar
 
Join Date: Jun 2003
Location: Ontario
Age: 20
Posts: 4,519
Send a message via MSN to IHaveRegistered
Default Math problem again...

I forgot what lib is for adding math functions onto RunUO (math functions as in Sin, Cos, Tan, etc etc). It's a sad day to be me :P

Well, that's pretty much my question!

Thanks!



PS. Sad part is: It's probably the easiest thing too...
__________________
IHaveRegistered is offline   Reply With Quote
Old 09-09-2006, 12:43 AM   #2 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 1,424
Default

Isn't it like 'Math.Sin(argument)' ? That may or may not be right... I have never used Sin, Cos, or Tan in a RunUO script before. I do know that Log is 'Math.Log(argument)' and that is the basic format for almost all of the Math functions I have seen.

Last edited by Slayer706; 09-09-2006 at 12:45 AM.
Slayer706 is offline   Reply With Quote
Old 09-09-2006, 02:17 AM   #3 (permalink)
Account Terminated
 
kellsar's Avatar
 
Join Date: Aug 2006
Location: Somewhere near Omaha, but in Iowa (Council Bluffs)
Age: 21
Posts: 343
Default

look up the command in a c#/c++ book, it may be in there!

libraries are usually good places to go (like barnes and noble-schools never have wut ya need )
kellsar is offline   Reply With Quote
Old 09-09-2006, 11:16 AM   #4 (permalink)
Forum Expert
 
Courageous's Avatar
 
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,824
Default

http://msdn2.microsoft.com/en-us/lib...h_methods.aspx
Courageous 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