Hi,
First of all, you're using Lite-C, not C-Script (you can't use switch/case in c-script)

Hey there! Thanks for the quick reply!
Well, I've alsow tried "if(event_type == EVENT_ENTITY)" but I guess that's the best way to do this though, since you say I can't use switch/case ^^.
Hi,
I can't tell why it crashes without seeing more of your code, but to check whether the missile hits the player or the box, use a skill to determine that, e.g.:
player's skill1 = 1
box's skill1 = 2
then in the missile event, you can check (if event_entity) whether you.skill1 is 1 or 2
I'm currently at the wrong computer to be able to post the script - but will do it asap if the problem persists.
so basicly you mean it SHOULD be possible for the missile to check what it hit if I use something like this?:
if (event_entity)
{
if(your.skill1 == 1) {do something}
if(your.skill1 == 2) {Do something else}
}
I'm pretty sure that this is the code I am using at the moment, though maybe I wrote "if(EVENT_TYPE == event_entity)"
instead of "if(event_type)" is this vital? I don't get any errors during compile-process, so...
Anyway, I will test your tip, and if it's not working I'll post the code later!

Thanks a lot for your help, and your time.

*Thumbs up*