print damage

im a new coder, and im trying to make my first game, and i would like to know how to print the number of dmg my weapons deals. I looked up, and i cannot figure out what to do, any help would be very appreciated


The first step (I suppose you did) is setting an attribute for the damage. Let's say when you roll or sets the damage value, you store it in the game, so you call it 'game.damage', which is an INT, what means it must be a number.

All you need is telling Quest to 'print' the variable 'game.damage'. By using the GUI it is very simple.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums