Jump to content
Sign in to follow this  
Doggolainen

Triggers combined with markers

Recommended Posts

I've tried google, but I couldn't find an easy "guide" to make the simplest objectives. All I want is to make a marker appear/disappear from the map using either a trigger or something similar. Basically, I want one marker to get removed from the map once the objective is complete and another to show up for one to see the next objective. How do I do it?

Also, does anyone know a way to turn the engine and lights on an unmanned truck?

I'm new to this forums and to editing, I hope I have posted in the right place.

Share this post


Link to post
Share on other sites

All your answers are contained here. :)

Set the time around 8PM so it's dark.

First place your Player unit.

Second place an empty MTVR. Name it truck.

Third place your first marker. Name it goalMarker and make it's Icon an Objective and it's text Your first goal!

Fourth place your end marker. Name it endGoal and make it empty with no text.

Lastly place your trigger. Make it 5m x 5m, BLUFOR PRESENT and put this as it's on Act:

player [url="http://community.bistudio.com/wiki/action"]action[/url] ["lightOn", truck]; truck [url="http://community.bistudio.com/wiki/engineOn"]engineOn[/url] true; "goalMarker" [url="http://community.bistudio.com/wiki/setMarkerPos"]setMarkerPos[/url] ([url="http://community.bistudio.com/wiki/getMarkerPos"]getMarkerPos[/url] "endGoal"); "goalMarker" [url="http://community.bistudio.com/wiki/setMarkerText"]setMarkerText[/url] "Your End Goal!";

Check the map. You'll see the "Your first goal!" marker. Walk to where the trigger is. The empty ghost MTVR will start up and the lights will turn on. Check the map again. Your "Your first goal!" marker will have moved to where you placed the endGoal marker and say "Your end goal!" now.

Edited by kylania

Share this post


Link to post
Share on other sites
All your answers are contained here. :)

Set the time around 8PM so it's dark.

First place your Player unit.

Second place an empty MTVR. Name it truck.

Third place your first marker. Name it goalMarker and make it's Icon an Objective and it's text Your first goal!

Fourth place your end marker. Name it endGoal and make it empty with no text.

Lastly place your trigger. Make it 5m x 5m, BLUFOR PRESENT and put this as it's on Act:

player [url="http://community.bistudio.com/wiki/action"]action[/url] ["lightOn", truck]; truck [url="http://community.bistudio.com/wiki/engineOn"]engineOn[/url] true; "goalMarker" [url="http://community.bistudio.com/wiki/setMarkerPos"]setMarkerPos[/url] ([url="http://community.bistudio.com/wiki/getMarkerPos"]getMarkerPos[/url] "endGoal"); "goalMarker" [url="http://community.bistudio.com/wiki/setMarkerText"]setMarkerText[/url] "Your End Goal!";

Check the map. You'll see the "Your first goal!" marker. Walk to where the trigger is. The empty ghost MTVR will start up and the lights will turn on. Check the map again. Your "Your first goal!" marker will have moved to where you placed the endGoal marker and say "Your end goal!" now.

Thanks alot!

Share this post


Link to post
Share on other sites

No problem, there are plenty of other ways of doing this from briefing tasks lighting up hidden markers to actually creating and destroying the markers are as go along.

From a new editors viewpoint I thought having hidden markers where you have objectives so you can see at a glance where the action will be and simply moving/renaming the one visible marker would be easier than creating and destroying and all that jazz. :)

Share this post


Link to post
Share on other sites

Since you're here and you are experienced. Is there anyway I can spawn an enemy/item while walking into a trigger.

For instance, I want to go into an area and have several troops spawn at my back. I would also like to spawn the "alarm" entity at the same time.

Edited by Doggolainen

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  

×