Jump to content
Sign in to follow this  
roguetrooper

splitstring doesn't work?

Recommended Posts

I would like to have returned the current amount of bullets of the current magazine of a unit:

mag = currentMagazineDetail player;
mag splitString " []()/:";
hintsilent format ["%1",mag];

or hintsilent format ["%1",mag select 3];
 

Seemingly splitstring doesn't do anything. "mag" remains the same before and after the splitstring-treatment.

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  

×