I found entity.string1 which sounds like it returns "String 1" from WED. However, it is always null.

I setup my event action like this. It does get called on startup.

action SetPrizeAction()
{
my.emask |= ENABLE_IMPACT;
my.event = PrizeEvent;
my.push = 1;
}

I handle the impact event like this. It does get called when another model runs into it. However, when I try to access string1 (I really want it from "me", the model being hit), string1 is always null. I also tried to access you.string1 (just for the heck of it), and it is also null. The "behaviour" page for both models has "String 1" set to a recognizeable value.

Any ideas?

Thanks!

STRING* sName = "#50";
function PrizeEvent()
{
switch (event_type)
{
case EVENT_IMPACT:
str_cpy(sName,"In PrizeEvent()");
if( me.string1 != NULL )
str_cpy(sName,me.string1);
if( my.string1 != NULL )
str_cpy(sName,my.string1);
if( you.string1 != NULL )
str_cpy(sName,you.string1);
beep();
break;
}
}