Jump to content
Sign in to follow this  
Tankbuster

unit initialization field? length limit?

Recommended Posts

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

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

Or Teamspeak, same address, usual password. smile_o.gif

Share this post


Link to post
Share on other sites

i cannot see the point to do that. just call/spawn/etc a script.

Share this post


Link to post
Share on other sites

init field is probably handled as string which afaik can handle 4096 characters.

Share this post


Link to post
Share on other sites
init field is probably handled as string which afaik can handle 4096 characters.

Thanks! smile_o.gif

Share this post


Link to post
Share on other sites
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×