Jump to content
Sign in to follow this  
brucehamill

Mission Trigger in Altis Life

Recommended Posts

Hello all

I know the basics of making a trigger but im really looking for something specific and need a pro's help to do what i require.

What i would like is to have a trigger over the Federal prison that warns aircraft they are entering restricted airspace, this i can do via the effects text tab, but i want the text to show in red ??? How do i go about this.

Also I need another trigger that after say 45 seconds of an aircraft entering, it disables the tail rotor or somehow damages the aircraft enough that it becomes either really hard to fly, or disabled completely. I have made some efforts to try this and done some research but ive drawn a blank, as most damage triggers that are documented get linked to a named aircraft or vehicle, in Altis Life that is not quite possible unless i have to do it via a script, which I cant write either.

Any help much apreciated.

Share this post


Link to post
Share on other sites

For the first issue, try using parseText, and use <t color="red">text</t>. The text field is identical to cutText so this should work.

The second issue, try using a trigger that has a timeout after 45 secs and in the on activation field something along these lines:

helicopter setHit ["mala vrtule",1];

This will kill the tail rotor of the helicopter. Use the config viewer to find out exact hit names, it's not guaranteed to work.

Share this post


Link to post
Share on other sites

For the trigger that disables tail rotors, try having it set to ANYBODY and REPEATABLE then put this in ON ACTIVATION:

{
[_x, thisTrigger] spawn
{
	sleep 45;
	_bool = [_this select 1, _this select 0] call BIS_fnc_inTrigger;
	if (_bool) then
	{
		(_this select 0) setHit ["mala vrtule",1];
	};
};
}forEach thisList;

Share this post


Link to post
Share on other sites
.... Use the config viewer to find out exact hit names...
HitEngine
HitEngine2
HitEngine3
HitHull
HitHRotor
HitVRotor
HitBatteries
HitGlass1
HitGlass2
HitGlass3
HitGlass4
HitGlass5
HitRGlass
HitLGlass
HitMissiles
HitLight
HitHydraulics
HitTransmission
HitAvionics
HitGear
HitFuel
HitHStabilizerL1
HitHStabilizerR1
HitVStabilizer1
HitTail
HitPitotTube
HitStaticPort
HitStarter1
HitStarter2
HitStarter3

I'd hit the glass first. Then increase damage to other items over time.

Share this post


Link to post
Share on other sites

Hitting glass doesnt affect the helicopters movement though, and I assume that's what he wants.

Share this post


Link to post
Share on other sites

Thank you for the response's guys, unfortunately they dont work, i can still use the message but by activating it in the effects tab, the Colour doesn't work, It works if i trigger it as a hint, but i can live with that...

The damage thing is the one bugging, me, In Altis Life i have tried going through the EMP scripts to see what is called when the Emp disables a vehicle but as i said in my OP im no coder, i can copy and paste pretty well and fix a line if i get an error. Its frustrating to be honest as its the last thing i need to really polish before my mission is ready....Is there a way to maybe trigger a missile warning without it actually happening, or even making it happen but having the vehicle completely hidden on the map so nobody can use it but its still functional for this purpose only...

Im basically just trying to make it hard for people to bust Crims out of jail without completely sealing off the jail. I want them to have a chance but they need to work for it.

another idea i had was to maybe put some objects on the ground, like 4-6 hammers or something and create a trigger that sets off loads of smoke but then realized that everytime someone was jailed it would set it off as i cant trigger the marker off an empty vehicle....Or can I ???

Plus i wouldn't even know how to actually do that anyway, :-(

Edited by brucehamill

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×