Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 4:21 pm
All times are UTC + 0
Send to waypoint if enter a celltag
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
defcom
Vehicle Drone


Joined: 24 May 2015

PostPosted: Thu Jun 04, 2015 2:47 pm    Post subject:  Send to waypoint if enter a celltag Reply with quote  Mark this post and the followings unread

Hi people, i need help with this:

- When unit (infantry or vehicle) enter a specific celltag then this unit must go to specific waypoint.

how i can do that?
Thanks

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Thu Jun 04, 2015 5:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

I assume you want to do this in a singleplayer map. You need a specific unit, (as far as I know) you can't make this happen with a random unit. Simply create a team with the unit as its taskforce, a script that moves the unit to the waypoint, and a trigger that creates this team when the unit moves to the celltag. The trigger should now "capture" the unit when it moves to the cell, and place it in the team.

_________________


Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Fri Jun 05, 2015 6:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I'd advise you to add Waypoint to the team itself as well, so that the game starts collecting the types from the TaskForce from that waypoint.
Add a waypoint near the cell it crosses and use that in the team.

Like Crimsonum said, put the trigger in a celltag and make sure your unit crosses it. Then you create the team with the waypoint set and perhaps also AreTeamMembersRecruitable IIRC, so that it steals the unit from its current team (if it has one).

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Fri Jun 05, 2015 10:45 am    Post subject: Reply with quote  Mark this post and the followings unread

As far as I know, AreTeamMembersRecruitable makes the team members available for recruitment into some other team. It basically acts like Recruitable on a preplaced unit. However, you can also use Group to link the two teams.

_________________


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.2436s ][ Queries: 11 (0.0091s) ][ Debug on ]