by jazz_e_bob » Tue Dec 30, 2003 1:42 am
When the following Global Code is run "animpos" does not visually change.
void ShipCollides(void)
{
meter_energy.animpos -= 1;
if ((meter_energy.animpos - 1) == -1 )
{
DestroyActor("Event Actor");
DestroyActor("meter_ship");
}
else
{
CreateActor("shield", "shield", "no parent", "no path", 0, 0, false);
}
}
Controlling complexity is the essence of computer programming.