You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
Welcome! You are not logged in. Please Login or Register.3 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » Making Units Disappear then Reappear in same form
Bottom
Topic Subject:Making Units Disappear then Reappear in same form
Xenophus
Squire
posted 12-13-02 11:21 PM CT (US)         
Can anyone help me, I need to get a unit to enter a building, then exit it. The problem is, it still needs to be connected to the triggers, that is, once it has reappeared, I can still select it and get a comment.
AuthorReplies:
Dark_Aro
Squire
posted 12-13-02 11:50 PM CT (US)     1 / 3       
Ok, I loved this trick in past scenarios.

Condition1-Objects in Area- X

Make the Area somewhere in front of the building.

Effect1-Change ownership
Effect2-Change ownership

Effect 1 should change ownership of your main unit to a computer controlled unit. It can be more of a dummy player, or an allied team.

Effect 2 should change ownership of the unit when he is inside of the building to your side.

Condition-Objects in Area- X

Make the Area somewhere near the doorway of the building, or right at it.

Effect3-Change ownership
Effect4-Change ownership

Effect 3 should change the ownership of the unit inside back to the computer controlled player.

Effect 4 should change the ownership of the outside unit (your beggining unit) to your player again.

X = Your unit

--Things to perfect it--
A looping trigger that moves your units away from the area that they enter the building from. This prevents trigger repeats.
A cut-scene unit, like a transport or unit at a corner of the map so you cannot lose by your unit dieing.

Probably confusing to you. If it is, I will explain it more.


DARK_ARO Dragon Gaming Design Network | Age of Kings Heaven Forums
Dragon Gaming Design Network Administrator | Multiplayer Custom Scenario Night Member
dark_aro@dgdn.net | "Learn from yesterday, live for today, hope for tomorrow."
My Projects: AoK-- When Darkness Stands Still ~40% Robin Hood Legends ~17%
My Recommendations

[This message has been edited by Dark_Aro (edited 12-13-2002 @ 11:52 PM).]

Xenophus
Squire
posted 12-14-02 00:23 AM CT (US)     2 / 3       
Oops, soz, I actually meant an NPC unit goes inside the building, multiple ones actually. You see, I have put time into my map, with half hour intervals every 15 seconds. I want the units to go inside the villagers at a set time (around 8-10PM on the ingame clock) then reappear around 7-8 in the morning. But, throughout the normal day, you will be able to click on them for information or random comments, some even mini-quests.
Dark_Aro
Squire
posted 12-14-02 00:35 AM CT (US)     3 / 3       
AH! Before-hand comment-That sounds c0ol beyond belief!

Maybe if you have them go to a specific area.

When your unit comes within that area's range (during the day, when they are all around), the unit will talk.


DARK_ARO Dragon Gaming Design Network | Age of Kings Heaven Forums
Dragon Gaming Design Network Administrator | Multiplayer Custom Scenario Night Member
dark_aro@dgdn.net | "Learn from yesterday, live for today, hope for tomorrow."
My Projects: AoK-- When Darkness Stands Still ~40% Robin Hood Legends ~17%
My Recommendations
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames