npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Troop Garrison #54

Closed theevil128 closed 4 years ago

theevil128 commented 7 years ago

As its say's, meant for buildings, also placed buildings and vehicles like troop carriers.

npruehs commented 7 years ago

Actually, that's already there (except for a generic right-click command for entering). I've added this in commit 6f79dd5fbeb7f3a074ac87bb4781167d70df4c9a for construction sites, and it has already been re-used later for resource gathering (e.g. entering gold mines).

HeadClot commented 7 years ago

My advice would be make this a component so people can use or not use it as they wish in their project :)

npruehs commented 7 years ago

See my linked commit: It already is.

HeadClot commented 7 years ago

@npruehs - Got a question about this. Would this work with vehicles such as Aircraft carriers or sea based troop transports?

Just curious :)

npruehs commented 7 years ago

Hey @HeadClot! As this is solely based on actors in general, this should work with any kind of unit you can imagine, including vehices, transports, towers, castles, you name it.

HeadClot commented 7 years ago

Alright awesome. Thanks for the insight :)