Cuberite Forum
r174 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Requests (https://forum.cuberite.org/forum-3.html)
+--- Thread: r174 (/thread-76.html)



r174 - distroyed123 - 03-09-2011

lets get those plugins going for r174!!


RE: r174 - Tybor - 03-09-2011

(03-09-2011, 12:06 AM)distroyed123 Wrote: lets get those plugins going for r174!!

Still waiting for some documentation ...


RE: r174 - FakeTruth - 03-09-2011

Oh! Ahaha, anything specific?Tongue


RE: r174 - distroyed123 - 03-09-2011

(03-09-2011, 08:59 AM)FakeTruth Wrote: Oh! Ahaha, anything specific?Tongue

hooks archive would be nice XD so we know what we have to work with


RE: r174 - distroyed123 - 03-10-2011

(03-09-2011, 10:27 AM)distroyed123 Wrote:
(03-09-2011, 08:59 AM)FakeTruth Wrote: Oh! Ahaha, anything specific?Tongue

hooks archive would be nice XD so we know what we have to work with

mostly to get rid of the teleaDeath :O


RE: r174 - FakeTruth - 03-11-2011

Okay I wrote something about the two new hooks:
OnTakeDamage: http://mc-server.org/wiki/doku.php?id=api:plugin:ontakedamage
OnKilled: http://mc-server.org/wiki/doku.php?id=api:plugin:onkilled


RE: r174 - distroyed123 - 03-15-2011

(03-11-2011, 09:43 AM)FakeTruth Wrote: Okay I wrote something about the two new hooks:
OnTakeDamage: http://mc-server.org/wiki/doku.php?id=api:plugin:ontakedamage
OnKilled: http://mc-server.org/wiki/doku.php?id=api:plugin:onkilled

function Plugin:OnTakeDamage( Pawn, TDI )
LOG("Damage: ".. TDI.Damage )

if( TDI.Instigator:IsA("cSpider") ) then -- Check if instigator is a Spider
TDI.Damage = 999 -- change the damage to 999 ! Instant killing spidersBig Grin
end
end

so what would you change cSpider to to get the hook for fall damage?


RE: r174 - FakeTruth - 03-17-2011

Instigator will be nil I think


RE: r174 - distroyed123 - 03-19-2011

(03-17-2011, 04:30 AM)FakeTruth Wrote: Instigator will be nil I think

alright