what wrong with this scripting?
Posted: Sat Nov 01, 2014 19:54
script 7 (void)
{
int floor_number = floor_g / -18;
Print (s:"Arrived on Floor 0", d:floor_g, s:86);
}
when my elevator arrive on floor 0 i want a msg. why im missing a semi colum or error like floor_g endentifier is not be declared? where do i set the heigt, can anybody fixed that for me, im going nuts here. elevator heigt must be -18 when the msg comes. how to tell the script if the elevor is on the certain height?
{
int floor_number = floor_g / -18;
Print (s:"Arrived on Floor 0", d:floor_g, s:86);
}
when my elevator arrive on floor 0 i want a msg. why im missing a semi colum or error like floor_g endentifier is not be declared? where do i set the heigt, can anybody fixed that for me, im going nuts here. elevator heigt must be -18 when the msg comes. how to tell the script if the elevor is on the certain height?