Larrow 2828 Posted January 2, 2016 Quote This doesn't display the addAction, while approaching the car. Because i missed the = in the color attribute. And you filled the command with random quotes :). _won = createVehicle [_type, _position, [], 0, "NONE"]; _won addAction [ "<t color = '#0000FF'>Hello</ t>", "staz\staz.sqf", [], 1, true, true, "", "_this distance _target < 3 && side _this isEqualTo west && !( _this in _target )" ]; Share this post Link to post Share on other sites
killzone_kid 1333 Posted January 2, 2016 On 1/2/2016 at 2:54 PM, Heeeere's johnny! said: Well, at least to some excant it is what I expected. Never tried it with the single quote though, good to know. But when I started learning SQF, I was missing the \ to escape stuff until I stumbled across this "" notation. I wonder why they introduced the \ for escaping line breaks in defines, but not for ecaping quotes in strings. No idea, it is all ancient stuff, maybe future Arma archaeologists will dig up some explanation. I guess it could be because: Quote PowerShellWindows PowerShell is a much more advanced shell than cmd.exe, and it has been a part of Windows for many years now. PowerShell works consistently internally with respect to quoting:inside double-quoted strings, use `" or "" to escape double-quotesinside single-quoted strings, use '' to escape single-quotes Share this post Link to post Share on other sites