OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: UH60MG on 11 Mar 2008, 19:36:35
-
I have a string and I need to have double inverted commas in it is there a way to do this
I.e the string should be something like:
"[]exec "script.sqs""
(this is to go in the init field of a unit created by createUnit function)
-
In your example just add double quotes (inverted commas) around the name of the script like this:
"[]exec ""script.sqs"""
So, using the example parameters from the comref for createUnit:
"ClassName" createUnit [Position, Group, "[]exec ""script.sqs""", skill, rank];