Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a problem...
#1
im still learning...slowly getting better learning from mistakes etc.

iv just learned how to define objects using the :
Code:
TYPE atype
A AS INTEGAR
B AS INTEGAR
that kind of thing, which i am using for a simple battle type game where u can select a pre programmed character with unique stats which to keep simple i am only using HP and Damage, thus the two integars in the example. What i need to know is how to call on those integars when writing an expression.
What i want to do is have type1's damage integer taken away from type 2's HP. Im not sure of the proper syntax to get this to work.
Sad Can anyone help with this?
-p
Reply


Messages In This Thread
a problem... - by Placeborick - 03-04-2003, 02:18 AM
a problem... - by Agamemnus - 03-04-2003, 02:32 AM
a problem... - by na_th_an - 03-04-2003, 03:49 AM
a problem... - by Agamemnus - 03-04-2003, 06:20 AM
a problem... - by toonski84 - 03-04-2003, 08:36 AM
a problem... - by Neo - 03-04-2003, 01:38 PM
a problem... - by Zap - 03-06-2003, 07:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)