post your funktions here please!
Anything specific you're looking for? I don't think posting my global script here would be all that useful.
How about this:
#define here character[GetPlayerCharacter ()].room
If you're after anything in particular, please say so. Otherwise, I'll delete this topic.
Quote from: Pumaman on Sun 23/01/2005 21:58:52
Otherwise, I'll delete this topic.
No, I think locking it is a better choice, so people won't repost as they thought their posts dieappeared.
???
i'm don't looking for anything! i just wanted that some people post usefull functions for other members that makes their life easier. e.g. :
function pick(int obj, int inv){
objx = GetObjectX(obj);
objy = GetObjectY(obj);
MoveCharacter(GetPlayerCharacter(),objx,objy);
while(character[GetPlayerCharacter()].walking)Wait(1);
ObjectOff(obj);
AddInventory(inv);
}
if someone asks : how do i make the character walk to the objekt i clicked on wait till he is there and then pick it up and additem xyz?
then he can look at this thread and sees this funktion i posted and says a yes i only have to use this simple function and my character does everything automatic!
my thought was to creat a thread which collects functions!
The tech archive is here for that kind of stuff, if you need something, go wandering in there and if You don't find the answer, come here to ask. But before anything else, use your own brain and try to think the functions up. This way they'll suit your purpose the best possible way.
And so I'll say it's enough...