Both sides previous revision Previous revision Next revision | Previous revision | ||
hpl3:game:scripting:entities [2015/09/17 11:09] ian.thomas [Reverb Area] |
hpl3:game:scripting:entities [2017/05/03 14:44] (current) alexkalopsia [Critter] 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 134: | Line 134: | ||
**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)** \\ | ||
**void OnUpdate(float afTimeStep)** \\ | **void OnUpdate(float afTimeStep)** \\ | ||
- | **void OnPostUpdate(float afTimeStep)\\ | + | **void OnPostUpdate(float afTimeStep)** \\ |
- | ****void OnVariableUpdate(float afDeltaTime)** \\ | + | **void OnVariableUpdate(float afDeltaTime)** \\ |
**void OnHealthChange()** \\ | **void OnHealthChange()** \\ | ||
**bool CanInteract(int alType, iPhysicsBody@ apBody)** \\ | **bool CanInteract(int alType, iPhysicsBody@ apBody)** \\ | ||
**bool OnInteract(int alType, iPhysicsBody@ apBody, const cVector3f &in avFocusPos, const tString&in asData)** \\ | **bool OnInteract(int alType, iPhysicsBody@ apBody, const cVector3f &in avFocusPos, const tString&in asData)** \\ | ||
**void OnConnectionStateChange(iLuxEntity@ apEntity,int alState)** \\ | **void OnConnectionStateChange(iLuxEntity@ apEntity,int alState)** \\ | ||
- | **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)** | + | |
==== Area ==== | ==== Area ==== | ||