![]() |
testnpc2
PHP Code:
|
PHP Code:
PHP Code:
|
Oh wow, thanks, xp, rep++
but! :p I want, kinda need, it so i can put it in a simple if statement with other variables to check with. |
Quote:
|
Quote:
|
If you put it in a loop like Tig had, each instance of n will be a variable that you can manipulate and extract information from. No different than what you requested. More specifically, each instance will be one of the NPCs.
|
dusty got it, ill explain it anyways, just as if i were using testnpc2 instead f that chunck
|
Well like if (findareanpcs(this.x, this.y, 4, 4).size() > 0) echo("detected an npc!"); ?
findareanpcs() is returning an array of npcs at the specified rectangle. |
| All times are GMT +2. The time now is 09:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.