Home   Help Search Login Register  

Author Topic: debugging help  (Read 1195 times)

0 Members and 1 Guest are viewing this topic.

Offline twisted

  • Members
  • *
  • I'm a llama!
debugging help
« on: 02 Mar 2009, 03:17:44 »
Hi.

one thing i find limiting (besides my own scripting abilities and experience  :) ) in arma is the lack of on screen text feedback.

for example i try and use hint format command if an if loop, but it doesn't seem to loop.

is there a way i can get useful debugging text as defined by 1) stays in a useful position, 2) doesn't overwrite previous text, and 3) scrolls through info until perhaps 10 lines have been shown then starts to scroll away over text.

any help or nods in general directions really needed.

thing i am trying to track is a units position relative to a destination, and have when he is <10m from destination a 2nd script would work.




Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: debugging help
« Reply #1 on: 02 Mar 2009, 04:17:42 »
* Run your mission in the MP editor and use:
Code: [Select]
player sideChat "frogs just exploded";to print to screen (use / then pageup to scroll up the list of messages).
* Write to the arma.rpt file:
Code: [Select]
"frogs just exploded" createVehicle [0, 0];* Use SPON Core debug log.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Ironman

  • Former Staff
  • ****
    • {GSF} Home Page
Re: debugging help
« Reply #2 on: 02 Mar 2009, 05:13:03 »
and if frogs actually explode take a screen shot of that crap cuz I want to see it lol.
TS3 IP: tor.zebgames.com:9992