Difference between revisions of "OnHit"
Jump to navigation
Jump to search
Moved to "Category: Blocktypes"
imported>Tegid (Don't try using GetDetected in an OnHit block) |
imported>JOG (Moved to "Category: Blocktypes") |
||
Line 8: | Line 8: | ||
Note: Using [[GetDetected]] in an OnHit block doesn't really work. The OnHit block happens just AFTER the hit occurs, and the way Actor detection works, the hit causes an immediate awareness spike and so GetDetected will always come up as true. It will NOT return whether the Actor was detected previous to the hit. | Note: Using [[GetDetected]] in an OnHit block doesn't really work. The OnHit block happens just AFTER the hit occurs, and the way Actor detection works, the hit causes an immediate awareness spike and so GetDetected will always come up as true. It will NOT return whether the Actor was detected previous to the hit. | ||
[[Category: | [[Category: Blocktypes]] |