It doesn't matter even they are the same model. Here is an example
to prove it.
Add 2 entities (same model) in your level, edit skill1 = 1 for the first one
and skill1 = 2 for the second one, then add the following script :
Code:
var test1;
entity* selected;
panel printValue
{
pos_x = 0;
pos_y = 0;
digits (10,10,3,_a4font,1,test1);
flags = visible;
}
function selectMe()
{
if (event_type == event_click)
{
selected = my;
test1 = selected.skill1;
}
}
action furniture
{
my.enable_click = on;
my.event = selectMe;
}
function main()
{
level_load(...);
wait(2);
}
If succeed, it should show 1 or 2 while clicking on the model, or else,
post your code here.
Good luck!