AI & Smart Objects

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 08.06.2012, 21:43Posts: 69Location: Colorado Likes: 0
 

 Post Topic: Area trigger question
PostPosted 15.08.2012, 01:40 
Hey all, quick question regarding area triggers. Is it possible instead of having "you" the player trigger something to go off, and have like a rocket after shooting it trigger it. I am making a small project and seeing if this is possible. So for instance, when I shoot the rocket and it gets withing the boundaries of the trigger, it will set it off. I figure some flowgraph work will be needed but just curious if it's possible.

User avatar   Crytek Staff Member Crytek Staff MemberMember since: 20.07.2011, 10:22Posts: 489Location: Frankfurt am Main Likes: 1
 

 Post Topic: Re: Area trigger question
PostPosted 15.08.2012, 16:01 
When you say rocket, you are talking about the projectile from the Rocket launcher or some kind of space rocket? Either way is doable.
  Beginner BeginnerMember since: 08.06.2012, 21:43Posts: 69Location: Colorado Likes: 0
 

 Post Topic: Re: Area trigger question
PostPosted 15.08.2012, 19:17 
Sorry I wasn't more clear. I meant the actual projectile from the rocket after you fire it. How would this be done? It sounds pretty advanced, and I'm still a flowgraph noob.
User avatar   Crytek Staff Member Crytek Staff MemberMember since: 20.07.2011, 10:22Posts: 489Location: Frankfurt am Main Likes: 1
 

 Post Topic: Re: Area trigger question
PostPosted 16.08.2012, 09:34 
You place a TagPoint (RollupBar > AI > TagPoint) in the middle of the target area and use the following flowgraph. You can fiddle with the Radius to match the size of your area...
Of course, this works if the projectile actually explodes in that area/radius. If you don't need the projectile to actually explode there, you could use the Sound output from the EventListener node but that's tricky because it can be set off by any sound.
Attachments:

Listener.JPG
  Beginner BeginnerMember since: 08.06.2012, 21:43Posts: 69Location: Colorado Likes: 0
 

 Post Topic: Re: Area trigger question
PostPosted 16.08.2012, 09:58 
Quote by Cry-Spify:
You place a TagPoint (RollupBar > AI > TagPoint) in the middle of the target area and use the following flowgraph. You can fiddle with the Radius to match the size of your area...
Of course, this works if the projectile actually explodes in that area/radius. If you don't need the projectile to actually explode there, you could use the Sound output from the EventListener node but that's tricky because it can be set off by any sound.


Wow, thanks man! You rock! :)