DECORATE A_Print question

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
InsaneFury
Posts: 105
Joined: Mon Nov 23, 2009 6:51 am

DECORATE A_Print question

Post by InsaneFury »

I was wondering if it is possible to have A_Print output numeric / compound strings?

In my case, I'd like to debug some user vars and internal variables like angle and pitch. Ideally, I'd call A_Print(angle) or A_Print("Here's the angle:"+angle+", and here's the pitch:"+pitch+ ",and here's the user_value:"+user_theta). However, A_Print only seems to work with (static) strings, or is there something I'm missing?
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: DECORATE A_Print question

Post by Demolisher »

[wiki]A_LogInt[/wiki]
[wiki]A_Log[/wiki]
User avatar
InsaneFury
Posts: 105
Joined: Mon Nov 23, 2009 6:51 am

Re: DECORATE A_Print question

Post by InsaneFury »

Thanks a lot! Can't believe I missed those! :o
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: DECORATE A_Print question

Post by Demolisher »

InsaneFury wrote:Thanks a lot! Can't believe I missed those! :o
Can't blame you. They weren't listed on the wiki, had to add them to the action function list.
Locked

Return to “Editing (Archive)”