Page 1 of 1

ClosestHouse and ClosestGroup

PostPosted: 06 May 2014, 13:59
by Skypper
I was writing a script for a map and then i found a bug in the ClosestHouse and ClosestGroup method.
the site says that it needs 4 parameters (1 - player index 2 - X 3 - Y 4 - House/group type), but but the validator doesn't accept house/group type, it only accepts 3 parameters.
I use the winter beta version

Re: ClosestHouse and ClosestGroup

PostPosted: 06 May 2014, 14:29
by Lewin
I was writing a script for a map and then i found a bug in the ClosestHouse and ClosestGroup method.
the site says that it needs 4 parameters (1 - player index 2 - X 3 - Y 4 - House/group type), but but the validator doesn't accept house/group type, it only accepts 3 parameters.
I use the winter beta version
I updated it since the winter tournament version, that's what the wiki has documented. Check the revision number next to the command on the wiki to see when it was last updated (after r6157).

The first release candidate should be out soon, until then just ignore the last parameter since it was added after the winter tournament version.

Re: ClosestHouse and ClosestGroup

PostPosted: 06 May 2014, 15:16
by Skypper
Aah oke, thx
sorry for the spam topic then