| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hpl3:game:scripting:entities [2017/05/03 14:43] alexkalopsia [Prop] Repetition of GiveDamage |
hpl3:game:scripting:entities [2017/05/03 14:44] (current) alexkalopsia [Critter] Repetition of GiveDamage |
||
|---|---|---|---|
| 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 ==== | ||