Map Database  •  FAQ  •  RSS  •  Login

ClosestHouse and ClosestGroup

<<

Skypper

Knight

Posts: 436

Joined: 28 Jun 2013, 09:37

KaM Skill Level: Fair

Location: Dutch :D

Post 06 May 2014, 13:59

ClosestHouse and ClosestGroup

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
Greets Skypper (Totally Insane)

- Beginning map maker -
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 06 May 2014, 14:29

Re: ClosestHouse and ClosestGroup

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.
<<

Skypper

Knight

Posts: 436

Joined: 28 Jun 2013, 09:37

KaM Skill Level: Fair

Location: Dutch :D

Post 06 May 2014, 15:16

Re: ClosestHouse and ClosestGroup

Aah oke, thx
sorry for the spam topic then
Greets Skypper (Totally Insane)

- Beginning map maker -

Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 9 guests