cEntity and physics
#14
True, that does make sense - we might want to know which dispenser shot the arrow. Then the API would be incomplete. Any ideas?

This quite makes me inclined to really make the Attacker member a cEntity, so that it can point to the arrow being shot, and the cArrow would have all the info needed. So maybe it would make sense to move the weapon / armor API to cEntity, so that plugins don't need to check classnames all the time.
Reply
Thanks given by:


Messages In This Thread
cEntity and physics - by xoft - 12-25-2012, 08:19 AM
RE: cEntity and physics - by Luksor - 12-25-2012, 07:25 PM
RE: cEntity and physics - by xoft - 12-26-2012, 11:49 AM
RE: cEntity and physics - by xoft - 12-27-2012, 06:28 PM
RE: cEntity and physics - by FakeTruth - 12-28-2012, 02:45 AM
RE: cEntity and physics - by xoft - 12-28-2012, 11:39 AM
RE: cEntity and physics - by xoft - 12-28-2012, 12:59 PM
RE: cEntity and physics - by FakeTruth - 12-28-2012, 06:24 PM
RE: cEntity and physics - by xoft - 12-29-2012, 06:20 AM
RE: cEntity and physics - by bearbin - 12-29-2012, 06:54 AM
RE: cEntity and physics - by xoft - 12-29-2012, 01:05 PM
RE: cEntity and physics - by Taugeshtu - 12-29-2012, 09:28 PM
RE: cEntity and physics - by FakeTruth - 12-30-2012, 01:26 AM
RE: cEntity and physics - by xoft - 12-31-2012, 10:41 AM
RE: cEntity and physics - by keyboard - 12-31-2012, 03:58 PM
RE: cEntity and physics - by xoft - 12-31-2012, 05:50 PM



Users browsing this thread: 3 Guest(s)