how to make a model seeker
well....
this is my question... how to make a model seeker... for example... create a model... ("misil") and this model seek a player... and... when touch the player... make a effect "explosion" and the touched player lost few health... please... awnser me... thanks!!!!! :) |
Re: how to make a model seeker
It's not a quick and easy topic to give you an answer on..
Have a look at the amx_apache plugin for some code examples creating and firing missile entities and making them explode when the hit them. The client_PreThink and pfn_Touch functions are where you should be looking.. I'm not sure about making it aim at a player.. I guess in the PreThink function you would want to find the closest enemy player and trace a line to them? and find the angle required to move towards them and set that for your missile.. |
Re: how to make a model seeker
ok.... thanks man
|
Re: how to make a model seeker
sorry for the duoble post...
but... other suggestion for my question??? thanks |
| All times are GMT -4. The time now is 06:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.