Not really :) I thought you meant make a message show up on screen, like with the hint command. I thought it was strange you'd ask how to do something so simple haha.
On second thought you might not be able to change the height of _location during getpos, so maybe like this! Haha, sorry for bombarding your thread I just love the idea and want to help you make it work.
@line63
sleep 5;
//place tent (local)
_stash = createVehicle [_stashtype...
So I had a look at player_createstash.sqf and further down in it from where you mentioned _location is defined as being
_location = getPosATL _stash;
so maybe try this
_location = getPosATL _stash select 0, getPosATL _stash select 1, (getPosATL _stash select 2) -1;
I have tried modeltoworld as well with little success, not for the same purpose however. I love your idea and I totally agree. To accomplish my goal I used a combination of setposASL and setVectorDirAndUp instead, perhaps that will work for you! This is taken from the init of the object I...
I've been thinking about this as well, I stumbled on something that seems relevant to adding in groups but for the life me I just can't remember where or what it is :/ I remember thinking when I found it that I bet I could implement it fairly easy so if I can remember what it is I'll get to work...
I can't speak for anyone else but _isTent is defined in mine, my guess is he just didn't notice that.
I believe you did in fact forget to add that part, that's probably it!
looking at the code again i think adding (player distance cursorTarget < 1) might do the trick
so then
if(_isTent and _hasMatches and _canDo and !_isMan and (player distance cursorTarget < 1)) then {
if (s_player_igniteTent < 0) then {
s_player_igniteTent = player addAction [format[("<t...
Technically I think it would be possible to write a message with smoke without a plane, just using a series of sleeps and setpos but it wouldn't look right if you activate it from a plane. Also it would be quite hard I think :)
The Last Days
IP: 184.2.109.139
Port: 2302
Server Owner: Spectre
Admins:
Shelby
Spectre
(Open Positions!)
The Last Days Experience
You will run from hordes of zombies, fight bandits, survivors, heroes and military groups, scavenge for supplies, engage in air to air combat and struggle to survive...
Hmm are you saying make it write a message in smoke automatically? If that's the case then I didn't understand you right the first time and I'd have to say it's pretty improbable and not something I'd be willing to attempt. :/ Sorry.
Yeah that's easily possible if I understand you right. Are you asking for a mouse wheel option that gives text only or are you asking for that to be added to this?
Here's two others that I threw together, the one for the Ah6X makes a circle of smoke around the heli and the UH1H drops a line of smoke. Same as the skywrite these can be adjusted very easily.
To add them into SWS.sqf
If (typeOf _x in ["UH1H_DZ"]) then {
_UH1Hss = _x addAction [("<t...
I'm sure there is an easier way to do it and I don't know if this would work but you can certainly give it a shot, just make a trigger with that executes spawnWreck.sqf and put this into spawnWreck.sqf.
Now BEFORE YOU DO THIS I have to say I threw this together in five minutes by hacking up...
He's saying you burn a tent, run away, no matter how far away it will still say Ignite Tent until you click it again. Just one of those little things that's not critical but definitely bothersome.
Here is from my mission.sqm
class Sensors
{
items=2;
class Item0
{
position[]={14169.452,131.35104,14395.472};
a=95;
b=65;
rectangular=1;
activationBy="ANY";
repeating=1...
Mind sharing how you fixed it?
For orange text.
s_player_igniteTent = player addAction [format[("<t color=""#ee8900"">" + ("Ignite Tent") +"</t>")], "scripts\tent_ignite.sqf",cursorTarget, 0, true, true, "",""];
For any other color. Replace #ee8900 with a hex color from http://www.color-hex.com/
Do you mean here?
If (typeOf _x in ["AN2_DZ"]) then {
You should be able to add any vehicle there and I assume class types would work as well, like "Air" for example. I haven't tested that though.
http://community.bistudio.com/wiki/in
Also you shouldn't have to change the foreach at the end, I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.