Giving actors multiple attributes
italianadman38@yahoo.com
Member Posts: 0
I am trying to give an actor the following attributes; Hit Points, Damage, Exp Modifier to Damage and Ammo. Then when two actors with these attributes come together they will exchange damage until one is destroyed. Any suggestions?
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
There are a lot of tutorials out there for just about everything. Search this forum and use Google. Also have a look at FBS's videos he has a lot of good tutorials on the basics and advanced topics.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Why are you posting it here?
Edit: I saw this on 4 other threads too.
Need Help? Email Me | Templates | Full Game Source Code
Why not make all attributes game attributes? I did that in my first game and it was a pain scrolling through a huge list looking for attributes as I worked. This time I made any attribute that didn't need game level communication a self attribute and it cut the list down considerably. Also you can not change the list order of attributes which makes finding them even harder. I don't know for sure but I have read there is a higher performance over head for game attributes.
Plan your game out as much as possible before you start coding it. It will save you a lot of time further down the development path.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template