[SLOVED] How to Hook .spr to origin
I want some help about how i can hook .spr file ex (beam.spr) to some float origin ex (-2786 3299 912)
i want when function is ON then .spr make hook to tht place (-2786 3299 912) if function OFF .spr hidden ! sr , my bad eng ! |
Re: [HELP] How to Hook .spr to float origin
engfunc( EngFunc_WriteCoord, float ) ?
|
Re: [HELP] How to Hook .spr to float origin
Quote:
PHP Code:
|
Re: [HELP] How to Hook .spr to float origin
Please, explain what message do you want to send. You can look into messages_const.inc and see. Do you want to create an explosion/ a beam or what ?
|
Re: [HELP] How to Hook .spr to float origin
I am working on Capture The Flag for HL 1 , i want to add arrow spr when player has flag the arrow sprite shows you the way for your base ( arrow spr hooked automaticly to player base )
then when player capture or lose flag the arrow spr hidden i hope you understand me ! . |
Re: [HELP] How to Hook .spr to float origin
Quote:
do you want an arrow like this http://videogamecritic.com/images/xb...erground_2.jpg that shows the general direction or one like this http://makeserver.ru/uploads/posts/2...03_skrin-3.jpg The second one is very easy if you have the player's origin and the base origin PHP Code:
|
Re: [HELP] How to Hook .spr to float origin
Thx aron9forever , yes i like second one .
Now i have an idea to do it , your code helpfull :) |
Re: [HELP] How to Hook .spr to float origin
Quote:
( sorry for double post ) |
| All times are GMT -4. The time now is 17:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.