Posted: Sun Dec 16, 2007 8:16 pm Post subject:
Unit to follow waypoints in Final Alert
Ya im back but i want to know how to make a unit follow waypoints on a map and repeat, like i can put the unit on the map and waypoint but i dont know how to make them interreact wit each other.
mmmmmmmmm... that sounds dirty.
while im here might as well ask about that time travelle effect on the first mission in YR for Russians. Is it possible to copy that trigger and set it off when ever a certain unit is created like say the mothership from C&C3 cuz its so big you cant have it just pop out of the war factory you'd need to hide it up abit, if you get what i mean. QUICK_EDIT
Is it possible to copy that trigger and set it off when ever a certain unit is created like say the mothership from C&C3 cuz its so big you cant have it just pop out of the war factory you'd need to hide it up abit, if you get what i mean.
It's possible, yeah. Depends on if you want it done for RA2, or CNC3. I Have NO mapping experience with, CNC3. What you do, Is set the event 'Unit Exists', Select the unit you want for the trigger, and give it an action. I'd explain in more detail, but you've not given me alot of information to help you on. QUICK_EDIT
sorry i didnt get back to you sooner, ya patroll is what i want the unit do, im just make cars drive around my map and i also want the poeple to walk around the map too.
for the time travelle effect i just want that effect when i make a certian unit in RA2 YR i only used the mothership as an example from C&C 3 cuz its so big it would look weired if if it came out of a war factory.
ill only be able to reply to you at around 6.30pm today cuz im at school now and this class is over.
Make sure you already understand what teamtypes, triggers, taskforces and scripts are before you do this tutorial.
Step 1: Placing the units to patrol
We´ll make a 2 Conscripts and 1 Tesla Trooper patrol. So, place those units close to each other on the map. Give them to the Russians (Civilians if it's a multiplayer map) using Change Owner. Make sure they are recruitable by double clicking on each.
Step 2: Placing waypoints
Place one waypoint close to the units. The other one should be placed where you want them to patrol to.
Step 3: Create the taskforce
Create a new taskforce and add 2 Conscripts and 1 Tesla Trooper
Step 4: Create the script
Create a new script. Add the following in exact order:
1. Patrol to waypoint. Set waypoint to the first waypoint you created.
2. Guard Area (timer ticks): 10 time units
3. Patrol to waypoint. Set waypoint to the second waypoint you created.
4. Guard Area (timer ticks): 10 time units
5. Jump to line #: 1
(If this is a car moving, Use "Move to waypoint" and don't use "Guard Area".
Step 5: Create the teamtype
Create a new teamtype. Select your script and taskforce, and set waypoint to the first waypoint you created. Make sure Autocreate is not checked and Recruiter is checked. Change Owner to Russia (Civilians if it's a multiplayer map).
Step 6: Create the trigger
Create a new trigger. Select owner Russia. Select the event you want to have, for patrols this usually is Any Event. As Action, use Create Team and select your created TeamType.
Yeah... If you press, F1 in FinalAlert, you should see some useful tutorials on these kind of things. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum