OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Silencer on 25 Feb 2005, 13:09:11
-
Hi!
I have a question. I have made a (variable) text in a dialog with ctrltext.
I can see in a hint what text that was (e.g.: I pressed button 1, button 0 and button 0 again) The text is now: 100
I can see this in a hint! So that workes fine.
I want: 300 - the text (e.g.: 300 - 100)
How can I do this?
Thanks.
-
This (http://www.ofpec.com/editors/funcref.php?filter_func=32) is probably what you are looking for. :)
:beat: *Gets Shot* :beat:
-
yeah, i reckon its just a problem using a string as a number. if you see an error message it will read "Type:String;Expected:Number" or something if that it is your problem.