![]() |
Index???!!!
Ok Ok I need to know how to get the right index for things... If I knew how to do that then i would know how to do a bunch of other things
|
it is set like this.index or whatever, i think, also, Bhala, i want to start a guild, but it no let me :(
|
Quote:
|
I hope Kai gets his acount re-upgraded soon ;)
|
Quote:
Well why the heck doesn't anyone let him use their account? |
Re: Index???!!!
Quote:
otherwise usually people do like loops to effect like all the npcs/players.. or you can do like vars with npcs like level.blah = blah and make it equil the other npcs index... humm I think I am sounding kinda confuzing but I hope you understand me |
there is no image[index].x type commands yet
|
Quote:
players[index].nonsystemvarname = 10; cause that would simplify alot of things :D |
Quote:
that would be sooooo cool |
Quote:
uh... ... ... Ok. |
Quote:
|
Doesn't testnpc, and testplayer, and the other test commands return the value of the index?
|
Quote:
|
what is [id] for?
|
Quote:
|
im just wondering what id and index are used for. I have a basic idea but arent there like special ones for special NPCs? like 0 is the current NPC and in some command if its over like 250 then something is different... :(
|
Quote:
|
yup accept how are they assigned? the first COMPUS you lay down will be 0 and the next is 1?
|
Quote:
|
wow so you could actually make a script happen to like the 3 person to enter the room?
|
Quote:
if (playerenters) { this.count++; if (this.count==3) { this.count = 0; playerrupees += 5; } } That'll give 5g to every 3rd person to walk into the level |
Quote:
but the index is only for the players on the current level |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 05:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.