HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Cross-Player Cargo-Hold

06-16-2008, 03:55 AM#1
Burning Rose
So, I found out that Cargo-Holds don't work across Allied Players unless they have shared unit control. This is irritating. Does anyone know a way around this (Besides giving shared control). A JASS Cargo System would work fine, if anyone knows of a pre-existing one, or if it would be easy for me to make, but so would some other non-JASS method.

Alternatively, a good substitute would work. See, In a map I'm working on, one of the heroes has a puzzle solving ability that lets him MC elementals. The elementals have different powers, and one of which is a naval water elemental (with cargo hold). The Idea is once he gets to an area, he can get this and ferry his whole team across some water, but that doesn't seem to work because the other Heroes are controlled by his allied players.

So, any help?
06-16-2008, 05:04 AM#2
Here-b-Trollz
when he summons the elemental, give it to a player that everyone has shared control with.
06-17-2008, 12:06 AM#3
Burning Rose
I guess, but then other players could control it, and that ruins the aspect of them all having to work together. If nothing else works, I can do that though, thanks.
06-17-2008, 05:01 AM#4
chobibo
It's possible to do this but it would need a storage system, jass knowledge, and JassNewGen. How many units must the cargo holder hold?
Note: I can't GUI so I can't help you if you really want a GUI script.
06-17-2008, 12:24 PM#5
Here-b-Trollz
This is not something that, to my knowledge, Jass will help in any way. It's pretty much hardcoded into wc3, so that you can't piss your allies off by loading their units into your ship and never unloading them.

You could block all orders given to the elemental, and give the summoning player a dummy unit to control it.
06-17-2008, 12:28 PM#6
rulerofiron99
Trigger it.

Or, if you have spare player slots, make the ship owned by that player and full share it with all players. Use the custom value as the player number of the caster, and make a trigger that ensures that no other player can order it around.
06-17-2008, 03:46 PM#7
chobibo
what I meant is that you could make a skill like so using jass, not make the blizz cargo hold work as stated. So how many units ?
06-17-2008, 08:44 PM#8
Burning Rose
Umm... not sure, haven't finished all the puzzles yet and they may require other things.

I'll experiment with the Shared Control first; I certainly have slots to spare.
06-19-2008, 04:11 PM#9
AceHart
A transport that can load allies should be rather easy though.

Give the following abilities to your transport:
Cargo Hold (Meat Wagon),
Load (Goblin Zeppelin),
Unload (Air Transports).

On the cargo ability, change the targets allowed to: Allied, Friend, Ground.