![]() |
Calling a function in a gani script?
Is it possible to do that? If so, how? I didnt find anything about that on the wiki, though it would be pretty useful for me right now :)
|
Of course you can call a function. Example: showimg();
I think you need to be a bit more specific? |
O, well, err. I mean, say, I have a function "doStuff()" in the gani script. And now I want to call that function from a WNPC. Is that possible?
|
I don't think it is. I haven't found a way.
|
Man, now that I look at the first post again, that makes no sense, heh. Was half asleep when I was posting that :D
Well, is there maybe a little workaround to do something like that in a gani script? I dont want to use a timeout though. |
i don't think so
could be cool I suppose HTML Code:
player.attr[#].functionName(par); |
What do you need to do that for?
|
I got a pretty variable gani script, dont really want to go into detail yet. It checks for 3 variables in a timeout and changes them. I only want to change them when a certain button is pressed, so it would call a function in the gani and then do that, without using timeouts..
|
Well since a gani script is clientside, the script run separate for each person viewing the gani. Even if you could call a function in the script, it would only show up for the person who called the function.
|
| All times are GMT +2. The time now is 11:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.