OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Optik on 09 Jul 2006, 17:47:32
-
#1: How to make a "survive for 30 minutes" map? for example: lots of enemy units are attacking your unit's base, and you need to survive for 30 minutes. is it possible to make a trigger that will get your reinforcements on the way when, say, 25 minutes pass?
#2: i have a problem with objects and units appearing on the map before i even start the mission. when i select the mission on the Single missions menu, and start it, when i'm looking on the briefing, all (or most) units and objects that I have placed on the map can be seen. i dont want that.
tnx in advance
-
1) You could - a) Set the trigger countdown to 1500 (60 * 25) and syncronise it to the reinforcement groups first waypoint.
b) Place a game logic and give it two waypoints. In the first WP set the countdown to your desired time, in the second WP set the condition to 'alive player' or 'count UNITS player > 0'. Syncronise the second WP to the reinforcement groups first waypoint.
2) AFAIK these only show up in cadet mode.
-
what do i enter as max min and mid in time fields?
when i place a wp for a game logic, there is no coundown option, only timeout. is it the same? i've tried to sync that wp with the first reinf. group, but nothing happened...the group just marched in straight away.
i'm still kind of new with all of this...sorry.
-
You could give the reinforcements a condition in their waypoint, say,
ReinfGo
Then make a script with simply this,
~1800
ReinfGo = True
Exit
For question 2, yes it's 'cos you're in cadet mode.
-
when i place a wp for a game logic, there is no coundown option, only timeout. is it the same?
:-[ Sorry!
Countdown : This means the amount of time it will take for the trigger to activate, after the conditions have been met.
Timeout : This means that the conditions must be true for the amount of time specified for the trigger to activate.
That tut' is avaliable over in the temporary editors depot.
i've tried to sync that wp with the first reinf. group, but nothing happened...the group just marched in straight away.
Is the reinf. group's first WP placed where you want them to wait or their destination?
-
Is the reinf. group's first WP placed where you want them to wait or their destination?
its where i want them to wait. i,ve dl-ded some tutorials...tnx for the hint ;)