How do you get cCharacter.Scaling on a walkable area with continuous scaling?

Started by bx83, Tue 18/12/2018 02:34:36

Previous topic - Next topic

bx83

I'm trying to find out the scaling level of my main character on a particular point of a scaling walkable area.
I've tried:
Code: ags
Display("scaling",cJulius.Scaling);

...but nothing comines out - I just get a window saying "scaling "

Is there a way to get this done?
Checked tha manual - it say's Scaling is a function to get/set the property.

Gilbert

Code: ags
Display("%d",cJulius.Scaling);

Check the string formating section of the manual for more examples.

Khris

To insert the value into text, you can use

Code: ags
  Display("scaling: %d", cJulius.Scaling);

bx83


SMF spam blocked by CleanTalk