Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Max/min (https://forums.graalonline.com/forums/showthread.php?t=47257)

TribulationStaff 08-18-2003 04:30 AM

Max/min
 
It would be nice if these functions were not limited to two paramaters.

Python523 08-18-2003 04:33 AM

Re: Max/min
 
Quote:

Originally posted by TribulationStaff
It would be nice if these functions were not limited to two paramaters.
I personally like this suggestion and hope it is implimented

Dach 08-18-2003 06:06 AM

min(min(a,b),c)

TribulationStaff 08-18-2003 06:19 AM

Quote:

min(min(a,b),c)
Doesn't work when you don't know how many values you have. I would like to be able to go min(array)

wonderboysp2p 08-18-2003 06:21 AM

i very much agree with him here

Dach 08-18-2003 10:49 PM

Quote:

Originally posted by TribulationStaff


Doesn't work when you don't know how many values you have. I would like to be able to go min(array)

Oh, I see what you mean, I like

be nice to be able to pass an array to showpoly... *kicks can*

Riot-Starter 08-19-2003 12:22 AM

Quote:

Originally posted by Dach


Oh, I see what you mean, I like

be nice to be able to pass an array to showpoly... *kicks can*

You already can ;)
NPC Code:
//#CLIENTSIDE
if(playerenters){
polys = {x,y,x+10,y+10};
showpoly 1,polys;
}


Dach 08-19-2003 01:21 AM

Quote:

Originally posted by Riot-Starter


You already can ;)
NPC Code:
//#CLIENTSIDE
if(playerenters){
polys = {x,y,x+10,y+10};
showpoly 1,polys;
}


sonofa, when did this happen? thought I tried it before... bleh *goes back to making weird 3d thing*

KainDaMan 08-21-2003 03:47 AM

I agree with giltwist on this one. I was thinking of that the other day and was really pissed to find it wasn't already implemented....


All times are GMT +2. The time now is 02:08 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.