Welcome to the BF Forums! Register Now, It's Free!
Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.
You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.
Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
how do i make it so that if somone buys a unit it removes the original 1 and changes it to the bought 1? Also can somone tell me how to make it so that a unit can only hold (i.e. only have 1-2 swords in inventory?
You could use a variable for this one. Make the standing unit into a variable. Then if another unit gets built, remove the unit stored in the variable and put the new one in its place. Variables are your friend . I am not sure WHAT IN hell you are talking about for the second one.
__________________
One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!