HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with losing controll of a Hero

05-21-2009, 04:19 PM#1
Cheezeman
Hello mates
Once again I require help, and I turn to you at wc3c (yeah I turned to hive aswell but they can't solve it)
I'm making a spell (surprise!) and I'd like the player to completely lose controll of the Hero for the duration of the spell. However, I don't want it to change owner, because it would mess up the experience system (and I'd much willingly scrap this spell than remaking the systems)

Does anyone know how to do this?
I think it could work with the Locust ability, if it would only make the Hero vurnurable... :sad:
05-21-2009, 04:50 PM#2
0zyx0
Take a look at Independent Summons. It should give you a clue about what to do.
05-21-2009, 06:29 PM#3
Cheezeman
Quote:
Originally Posted by 0zyx0
Take a look at Independent Summons. It should give you a clue about what to do.
Awesome system, though I have a problem.
I don't understand how it works
And if I don't, I can't implent and modify it.

Hm... I could give it a couple of days though, maybe my teacher can help me
05-21-2009, 06:43 PM#4
Opossum
I think the easiest method would be to just pause the unit. Not sure if that's exactly what you want though.
05-21-2009, 06:49 PM#5
moyack
losing control means make the target hero being controlled by you? if that's the case the only possible way is changing the owing player. Other way is with triggers order him constantly to do basic stuff, like move or attack, at your benefit.

Check in my project PoC the Naga enchantress, she has an ability called soul control and I do that without changing player owner, and affects heroes too.
05-21-2009, 07:25 PM#6
Cheezeman
Quote:
Originally Posted by Opossum
I think the easiest method would be to just pause the unit. Not sure if that's exactly what you want though.
Wouldn't pausing the unit just stop it?
I want it to move around attacking at random...

Quote:
Originally Posted by moyack
losing control means make the target hero being controlled by you? if that's the case the only possible way is changing the owing player. Other way is with triggers order him constantly to do basic stuff, like move or attack, at your benefit.

Check in my project PoC the Naga enchantress, she has an ability called soul control and I do that without changing player owner, and affects heroes too.
Yeah that might be an idea! Interesting twist that you can still somewhat control it, but it will do things at random. I could use timers for it aswell, so I can have the delay between new orders being dependent on the level.

Very helpful indeed, thank you.
+Rep