Город Джунов
help with @follow - Версия для печати

+- Город Джунов (https://www.gipat.ru/forum)
+-- Форум English-speaking Diaspora (https://www.gipat.ru/forum/forum-22.html)
+--- Форум General Discussion (https://www.gipat.ru/forum/forum-13.html)
+--- Темы: help with @follow (/thread-2537.html)



help with @follow - v3001 - 04.06.2005

well i was jsut stupid. got everything working up to now.
but if anybody happens to know, why i cant get any mobs to follow me anymore, id be greatfull for some help.
i remember that it is possible to get units to follow your character and fight for you. but i dont get it working anymore.
i use:
@setplayer(getobjectbyid("12345"),0)
@follow(getobjectbyid("12345"),getunitofplayer(0,0))
@run(getobjectbyid("12345"))
but everytime my company or myself kills an enemy, the unit just runs away again, giving me the message: "new motivation sentry with power 50"

any ideas how to get them to follow me always?


help with @follow - IceLizard - 06.06.2005

I'm sorry if this isn't much help, it's been quite a long time since I used the console patch.

Could it be that the units which are following you run and attack an enemy? Since setplayer changes their team they attack everyone who attacks you.


help with @follow - v3001 - 07.06.2005

ok, got that working by now.
when you dont do things for some time you forget about important stuff.
i had to use @UMfollow. now it all works fine. i just need to find out, how to get it working, that when "my" animals kill enemies, i get the experience.