Raised This Month: $ Target: $400
 0% 

Automaton or native to disable forward & OT discussion about detecting ground touch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-17-2013 , 17:48   Re: Automaton or fakemeta?
Reply With Quote #1

There are often alternative to PreThink hook.

In the example you gave it is not even an alternative, because PreThink shouldn't be hooked for that.
All you have to do is to hook Ham_TakeDamage and to check if last bit param contains bit DMG_FALL.

So before to worry about what it the best between automaton with prethink and disabling prethink forward, you should first ask yourself if there could be better ways to achieve what you want to do.
You can also ask on forum when you have such a question and you don't find an answer by yourself ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode