Page 1 of 1

need guide on getting chars to fight and getting life variab

PostPosted: Sun Nov 04, 2007 3:46 pm
by metal5723
like i said in my other post, I'm very new to game design so theres a lot i don't understand. I am trying to make it to where my character have health variables and will attackeach other but i don't know how. i can get as far as the chart where you make the actor variable but i dont know what to put in the chart. name? i dont thik that matters much. integer,real,or string? i dont't know. Array yes or no? size? size of what? then it wants me to put a variable in with my save group,why? So could someone please tell me how to get health variables and how to get my chars to attack.
P.S. the kind of weapons i am looking to use is swords,guns,magic,gernades, stuff like that.

Re: need guide on getting chars to fight and getting life variab

PostPosted: Sun Nov 04, 2007 6:27 pm
by makslane
For health, is better use Actor variables, not globals. So each actor will have your own health.
The health holds a single numeric value, so, you don't will use arrays or strings.
Only use the save groups if you need save the variables in a file.

So, I think creating a variable called 'health', Actor, Integer, will solve your problem.

For more info, read the threads:
http://game-editor.com/forum/viewtopic.php?f=1&t=3246
http://game-editor.com/forum/viewtopic.php?f=2&t=2685

Re: need guide on getting chars to fight and getting life variab

PostPosted: Sun Nov 04, 2007 6:38 pm
by metal5723
thanks for the info :D