Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
monster_snark ignore its owner ? http://aghl.ru/forum/viewtopic.php?f=12&t=2944 |
Страница 1 из 1 |
Автор: | abdobiskra [ 25 окт 2018, 14:53 ] |
Заголовок сообщения: | monster_snark ignore its owner ? |
Is there a way to make the monster_snark ignore its owner? what i try (2ways): Код: #include <amxmodx>Strangely, the owner changes to the server! I tried to reset the owner back in the code but it did not work? I'm not sure this problem is or not but what I'm trying to reach is to make the monster_snark not target its owner. |
Автор: | Lev [ 02 апр 2019, 02:09 ] |
Заголовок сообщения: | Re: monster_snark ignore its owner ? |
Not sure what you actually want to achive. Owner on a snark do set this way: Код: void CSqueakGrenade :: Spawn( void )So, if you just want to change it, will be easier to catch Spawn event and change pev->owner in it, than to deal with m_hEnemy. |
Автор: | abdobiskra [ 02 апр 2019, 16:43 ] |
Заголовок сообщения: | Re: monster_snark ignore its owner ? |
It's ok ty. I'm using : Цитата: /**
* Description: Checks relation ship between two monsters. * Forward params: function(this, idother); * Return type: Integer (R_* constants, see HLDSK). * Execute params: ExecuteHam(Ham_IRelationship, this, idother); */ Ham_IRelationship, |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |