by Ice Cream Jonsey » Mon Mar 29, 2004 11:44 am
Whoa! Thought I responded to this.
I use this method:
Code: Select all
graphic
{
select(LocationState[11])
case 1
{
current_resource_file = "mall"
current_resource = "sporting01"
}
case 2
{
current_resource_file = "mall"
current_resource = "sporting02"
}
case 3
{
current_resource_file = "mall"
current_resource = "sporting03"
}
else
{
current_resource_file = "mall"
current_resource = "sporting01"
}
return -1
}
If I remember right, the thing I was missing was the "return -1" bit.
If you're stuck at all, Hugella, just let me know. I've got plenty of source code I can send you with multiple graphics going on in the same room. I did wrestle with it for a night a few years ago, but Kent pointed me in the right direction, and I definitely hope that getting it working yourself doesn't slow you down, because the solution's all there.
Robb
Whoa! Thought I responded to this.
I use this method:
[code]
graphic
{
select(LocationState[11])
case 1
{
current_resource_file = "mall"
current_resource = "sporting01"
}
case 2
{
current_resource_file = "mall"
current_resource = "sporting02"
}
case 3
{
current_resource_file = "mall"
current_resource = "sporting03"
}
else
{
current_resource_file = "mall"
current_resource = "sporting01"
}
return -1
}
[/code]
If I remember right, the thing I was missing was the "return -1" bit.
If you're stuck at all, Hugella, just let me know. I've got plenty of source code I can send you with multiple graphics going on in the same room. I did wrestle with it for a night a few years ago, but Kent pointed me in the right direction, and I definitely hope that getting it working yourself doesn't slow you down, because the solution's all there.
Robb