0 Members and 4 Guests are viewing this topic.
[...]Can I attach for example some DLL ?I've read somewhere that multi-threading is now disabled. What is an equivalent for that now ?
@FalconPL: Yes, I've noticed that they are quite similiar, but is there any example how to use that TActivePlayer instead of GetPlayerStat() ? Or it will be attached in newly created documentation ? Could you, please, estimate somehow, when we (community) can expect (maybe just partly) finished documentation ? A week ? Month ? Can I help you in any way with that ?
@JotEmI: Yeah, I've read that page. It is very useful But - as you said - it is about SC 2.0.Oh, I am nearly sure, that somewhere I've read about those functions (some changelog or sth). Maybe it was EnEsCe post about adding those features. Can I ask, why did you removed those functions ? How can I perform such operations now ? Can I attach for example some DLL ?
I've read somewhere that multi-threading is now disabled. What is an equivalent for that now ?
Yes, you can use external DLLs. There you can have MySQL support, multi-threading, whatever you like. Check http://www.chmlib.com/ISetup/topic_scriptdll.htm for syntax.
QuoteYes, you can use external DLLs. There you can have MySQL support, multi-threading, whatever you like. Check http://www.chmlib.com/ISetup/topic_scriptdll.htm for syntax.Thanku you But how could I call a function originated in script-core, for example change team of player from the DLL function ? How do I reference it from DLL ?
Quote from: Szaman on July 28, 2013, 05:43:21 pmQuoteYes, you can use external DLLs. There you can have MySQL support, multi-threading, whatever you like. Check http://www.chmlib.com/ISetup/topic_scriptdll.htm for syntax.Thanku you But how could I call a function originated in script-core, for example change team of player from the DLL function ? How do I reference it from DLL ?I guess you can't, you can only reference DLL from your script and pass whatever info is needed to it, then check the result and act accordingly.
Are those old functions like "OnJoinGame" are still recommended to use or shoud I search for an equivalent somewhere in those classes (like TGame)?
Is mixing of those classes and "old" functions is possible ?
What is the sequence of executing those handlers (old functions and class methods) - which one is executed as first one ?
Does changes provided by "old" functions are immediately visible by this "classes" interface ?