Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
hpl3:game:scripting:entities [2015/09/11 10:44] ian.thomas [Overview] |
hpl3:game:scripting:entities [2017/05/03 14:43] alexkalopsia [Agent] Repetition of GiveDamage |
||
---|---|---|---|
Line 80: | Line 80: | ||
**void OnPhysicsCollision(iPhysicsBody @apBody, iPhysicsBody @apCollideBody, cPhysicsContactData&in apContactData)** \\ | **void OnPhysicsCollision(iPhysicsBody @apBody, iPhysicsBody @apCollideBody, cPhysicsContactData&in apContactData)** \\ | ||
**float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | **float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | ||
- | **void OnAttachmentUpdate(const cMatrixf&in a_mtxTransformAdd)** \\ | + | **void OnAttachmentUpdate(const cMatrixf&in a_mtxTransformAdd)** |
- | **void GiveDamage(float afAmount, int alStrength, const tString&in asType, const tString&in asSource)** | + | |
==== Agent ==== | ==== Agent ==== | ||
Line 111: | Line 111: | ||
**float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | **float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | ||
**void SetupCharBody()** \\ | **void SetupCharBody()** \\ | ||
- | **void GiveDamage(float afAmount, int alStrength, const tString&in asType, const tString&in asSource)** \\ | ||
**void HitByProp(float afAmount, float afMass, iPhysicsBody @apBody, cLuxProp @apProp)** | **void HitByProp(float afAmount, float afMass, iPhysicsBody @apBody, cLuxProp @apProp)** | ||
+ | |||
==== Critter ==== | ==== Critter ==== | ||
Line 197: | Line 197: | ||
**float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | **float DrawDebugOutput(cGuiSet @apSet,iFontData @apFont,float afStartY)** \\ | ||
**void GiveDamage(float afAmount, int alStrength, const tString&in asType, const tString&in asSource)** | **void GiveDamage(float afAmount, int alStrength, const tString&in asType, const tString&in asSource)** | ||
- | ==== Reverb Area ==== | ||
- | |||
- | === Overview === | ||
- | A special kind of area that is only used to set reverb properties for an area of the map. Does not allow variants to be created using script (like LiquidArea does). | ||