• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Boat Transport with units seen on it

Status
Not open for further replies.
Level 3
Joined
Feb 12, 2006
Messages
21
is there anyway to like have unit to be able to just walk on to the ship (large scaling value of course)
and still allow the ship to move with them on it?
(I kind of want this for a cinemteic im doing for my map)
 
Level 9
Joined
Sep 8, 2004
Messages
633
It is possible to have units walk on a ship, it's also possible to have a ship move while a unit is standing on it (buggy though, not very good), but i think it's impossible to have both. (let alone looking good enough for a cinematic...)
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
allright. make a boolean that is true if unit is on the ship and false otherwhise

Every 0.01 seconds of game time

Boolean Equal to true

Set Units Position ( unit, GetUnitsPosition( ship ) )

(clean up the leaks tho)

thats all there is to it!

oh, and make sure either the ship or the unit is flying, so pathing wont interfere.
 
Status
Not open for further replies.
Top