HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Current OrderId? GetIssuedOrderId() not what i need.

02-16-2008, 01:29 AM#1
Brash
I have searched and searched and cannot seem to find a function for getting the "current" orderid

all everyone every mentions is GetIssuedOrderId() in all the posts i check.

Is there no "GetCurrentOrderId() "??? or something like it?
02-16-2008, 02:00 AM#2
Anitarf
Try GetUnitCurrentOrder(), it takes unit and returns integer.
02-16-2008, 02:05 AM#3
Brash
Oh it does? i thought that had to have the ID in it or else it would string out a name.
02-16-2008, 02:08 AM#4
Anitarf
I do not understand what you are saying.
The integer the function returns returns is the orderID, orderIDs are integers, not strings.
02-16-2008, 02:28 AM#5
Brash
oh i see. i figured there was two ways. one way to return the string name of the order and another to return the ID.

but i found out through tests that it depends on if it's converted. which is weird.

I did a text message to let me know the orderid2string and it gave me a name... so i switched that to an integer to string and it gives me an integer now. weird.

thanks though.