ubi.com    Forums  Hop To Forum Categories  Ghost Recon  Hop To Forums  Ghost Recon IGOR/Mod Discussion    How to set up a path if u dont know where the actor will be

Moderators: MiNeRvA.
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
<Guest>
Posted
In my mod i have an actor (actor_abc)who is being driven by another actor (actor_xyz) in a jungle jeep. I want if the jungle jeep is destoryed or the driver is dead that actor_abc will run away to a hiding spot. How do i know where to start the path because the jeep will be moving across 3/4 the map.




celljer12345

Talk less, Kill more!!

My code of honor: I will never shoot you in the back unless your back is towards me.
 
Reply With QuoteEdit or Delete MessageReport This Post
<Guest>
Posted
You could make zones where the jeep moves through.

If the jeep is in the first zone, set counter to 1, if it is in the 2nd zone, set counter to 2, etc.

Then when vehicle/actor is killed :

ContinueIf counter=1
ExecutePlanTeam 'hide in zone 1'

ContinueIf counter=2
ExecutePlanTeam 'hide in zone 2'

They need to be in seperate blocks.


There are probably other (better) ways.



San's Place l SANSITE

San's Missions v1.1
San's Face Viewer v1.1
San's Vehicle Viewer v1.0
 
Reply With QuoteEdit or Delete MessageReport This Post
<Guest>
Posted
that makes sense. That will take alot of time since i have random triggers with 3 diffrent paths for the actor if he goes in the jeep.

celljer12345

Talk less, Kill more!!

My code of honor: I will never shoot you in the back unless your back is towards me.
 
Reply With QuoteEdit or Delete MessageReport This Post
<Guest>
Posted
Rather than give him a path to follow, you could just set his movement ROE to "Hold", which will make him take cover somewhere... That way you don't to worry about where he might be on the map when the trigger fires...

You could also make him more aggresive by telling him to suppress, set his alertness to "combat" etc...

The other thing to do would be to use the zones as San suggested, but rather than set a path to get him to a hiding place - he'll run to the start of the path first, which may not be quite what you want - set a location for each zone. Then, in the scripting, tell him to go to the location. That way he'll take the most direct route to cover, instead of run along the road in open ground to get to the start of the path, if you see what I mean. The easiest way to set a location is to place an effect, by the way, and then you can use the name you set to the effect as a location for all aspects of the scripting.
 
Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

ubi.com    Forums  Hop To Forum Categories  Ghost Recon  Hop To Forums  Ghost Recon IGOR/Mod Discussion    How to set up a path if u dont know where the actor will be

Terms of Use