![]() |
callnpc 'index' ?
Uhh, I have been using callnpc quite
a bit lately ... And I wanted to know if there is a way to find the NPC index without using something like: NPC Code: I understand how everything works, I just would like to know if there is a way to get the index of an NPC ... |
Uhm.
testnpc(x,y)? I guess there isn't... |
depends what you are looking for .. if you are looking for a certain npc in a lvl u can browse thru the npc array and stuff .. but like u cant set ne properties in a npc in which you will be able to view thru there..
|
Quote:
was a way to test for the index sorta like on images ... |
Quote:
Gohan |
Quote:
|
You mean only call the event on a certain NPC? Try setting a special number to one of the npc's save variables, then looping through all the NPC's in the level looking for the NPC with the certain save variable:
NPC Code: |
~AlphaFlame~
Well if you have the npc with a certain image... #f(i) :asleep: |
| All times are GMT +2. The time now is 04:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.