Tankbuster 1747 Posted January 25, 2009 Guys, Is there a limit to the number of characters that can go in a unit's initialization field? Also, what code can go in there? Can I for example, execute a for do loop in there? Thanks Tanky -Paul- Share this post Link to post Share on other sites
charliereddog 9 Posted January 25, 2009 Hi Paul. Been some time since I spoke to you guys, will have to MSN you next time you're on. As for length, don't know what the max is. A loop I don't believe will work, sleep certainly won't as I tried it today for something I was working on. Share this post Link to post Share on other sites
Tankbuster 1747 Posted January 25, 2009 Or Teamspeak, same address, usual password. Share this post Link to post Share on other sites
.kju 3245 Posted January 26, 2009 i cannot see the point to do that. just call/spawn/etc a script. Share this post Link to post Share on other sites
t_d 47 Posted January 26, 2009 init field is probably handled as string which afaik can handle 4096 characters. Share this post Link to post Share on other sites
Tankbuster 1747 Posted January 26, 2009 init field is probably handled as string which afaik can handle 4096 characters. Thanks! Share this post Link to post Share on other sites
raedor 8 Posted January 26, 2009 init field is probably handled as string which afaik can handle 4096 characters. There definitely was a limit in previous versions which Kronzky was exploiting with earlier versions of his String function library (now he's using the new hardcoded commands). If there really (still) is a limit, we should update the wiki: http://community.bistudio.com/wiki/String Share this post Link to post Share on other sites