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?
DECORATE A_Print question
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.
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.
- 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
[wiki]A_LogInt[/wiki]
[wiki]A_Log[/wiki]
[wiki]A_Log[/wiki]
- InsaneFury
- Posts: 105
- Joined: Mon Nov 23, 2009 6:51 am
Re: DECORATE A_Print question
Thanks a lot! Can't believe I missed those! 

- 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
Can't blame you. They weren't listed on the wiki, had to add them to the action function list.InsaneFury wrote:Thanks a lot! Can't believe I missed those!