OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Pointman on 01 Feb 2003, 06:29:31

Title: Scalars in "format" ? (GetDammage)
Post by: Pointman on 01 Feb 2003, 06:29:31
Anyone been able to print the value of the damage of a unit?

I did
Code: [Select]
hint format["%1",GetDammage _vehicle0]

It gives me "scalar"
Code: [Select]
_dam = GetDammage _vehicle0
hint format["%1", _dam]

gives me "<null>"


any ideas?
Title: Re:Scalars in "format" ? (GetDammage)
Post by: Pointman on 01 Feb 2003, 07:05:54
please delete this topic, i am a flaming moron


I'll go climb a flagpole