PsychoPidgin
09-18-2010, 12:23 PM
Hey, so I'm working on a mod (puzzle kinda game) and I was wondering if someone could link me to similar things/examples/tips. I've looked over the wiki but it's very limited into helping with what I'm trying to do.
So basically I'm trying to do 2 things.
A. Have a weapon entity that when fired on an entity communicates with the entity (we'll be making our own entities anyway for other various functions) So that it can either call a function on the entity and on the player, as well as.
B. Have it so that 2 entities can communicate with each other via finding them in the map (aka not collisions)
As an example I shoot one object and then when I shoot another object the first one overrides the second and the second is removed. (There's other things but if I can get this working on the others should be easy enough)
Well thanks for playing I mean listening. If you can help, or link me to some tutorials/code snippets that be awesome.
So basically I'm trying to do 2 things.
A. Have a weapon entity that when fired on an entity communicates with the entity (we'll be making our own entities anyway for other various functions) So that it can either call a function on the entity and on the player, as well as.
B. Have it so that 2 entities can communicate with each other via finding them in the map (aka not collisions)
As an example I shoot one object and then when I shoot another object the first one overrides the second and the second is removed. (There's other things but if I can get this working on the others should be easy enough)
Well thanks for playing I mean listening. If you can help, or link me to some tutorials/code snippets that be awesome.