![]() |
Public Strings
It would be a nice thing to have public strings that can be accessed by people on the same level. Customized data that is sent to other clients.. it would be like..
setstring public.stringname,<stuff>; and could be accessed via a message code like #S(public.stringname,playerindex) (Public Variables would be nice aswell) It could be useful for things like mouseover status and stuff like that, things that would normally require some interaction between the server via triggeractions and stuff. Another thing that could be useful is if showani worked in Weapons... Currently it doesn't (Someone prove me wrong if it does). Also Graalshop doesn't load the new attributes... (unless there is a new graalshop out, however I dont think the devpack was update.) |
I remember the old workaround for that...an invisible showcharacter NPC that used his #n for public string storage. Those were the days...
|
jagen had a similar idea in http://forums.graal2001.com/forums/s...threadid=38235 <3
|
Quote:
And Thym, I'm starting to like your floating point layers thing, as I run out of layers on the level-based layers very quickly. Maybe something like changeimgvis2 i,layer,sublayer; and the sublayer would determine which image was draw over the others on the same layer... in changeimgvis i,layer; the sublayer would default to 0. |
Falados.. is all you talk about layers? geh.
|
Quote:
|
The float part of the number (.1 of the 2.1) would be the sublayer...
|
Quote:
Another thing that needs to be added is a nearestplayer(x,y) function and maybe even a nearestnpc(x,y) function too. It would return the index of the nearest player or npc to that point on the level. Might be good for baddies and such. |
Quote:
Quote:
|
lol!
And btw you can already do something like that I think, As thats how 2002 and other servers make the music fade as you walk away. |
OK first off, read what i quoted from jagen. Second off, they would have done this :
http://forums.graal2001.com/forums/s...759#post735759 |
Quote:
|
Re: Public Strings
Quote:
|
Re: Re: Public Strings
Quote:
|
Why not using the 'gani' attributes #P(1) - #P(30) ?
#P(playerindex, attributenumber) |
Quote:
|
like you can only use gani attributes on showcharacter npcs? x.x
|
| All times are GMT +2. The time now is 06:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.