New Packet/Event , new thread.
New packet: UCO - report InSim checkpoint / InSim circle (autoX objects)
To get data from this packet, the new insimversion is required
Thanks to Yisc[NL] for fixing this problem.
##########################################################
#Actions to do on Insim Checker/Checkpoint (AutoX object)#
##########################################################
#When $Flags(bits) returns a value
#UCO_CIRCLE_ENTER, //0 (00) User entered a Checker
#UCO_CIRCLE_LEAVE, //1 (01) User left a Checker
#UCO_CP_FWD, //2 (10) User crossed Checkpoint in forward direction
#UCO_CP_REV, //3 (11) User crossed Checkpoint in reverse direction
Event OnCrossingChecker($userName,$Flags,$Time,$Object,$UserSpeed,$CircleIndex) # Player event
#privmsg(getplayervar($userName,"NickName"));
#privmsg("Action: ".$Flags);
#privmsg("Time: ".$Time);
#privmsg("Object: ".$Object);
#privmsg("CircleIndex: ".$CircleIndex);
#privmsg("Speed: ".$UserSpeed." ".getplayervar($userName,"UnitSpeed"));
EndEvent
Edit: Check for newest release in Release Thread.
New packet: UCO - report InSim checkpoint / InSim circle (autoX objects)
To get data from this packet, the new insimversion is required
Thanks to Yisc[NL] for fixing this problem.
##########################################################
#Actions to do on Insim Checker/Checkpoint (AutoX object)#
##########################################################
#When $Flags(bits) returns a value
#UCO_CIRCLE_ENTER, //0 (00) User entered a Checker
#UCO_CIRCLE_LEAVE, //1 (01) User left a Checker
#UCO_CP_FWD, //2 (10) User crossed Checkpoint in forward direction
#UCO_CP_REV, //3 (11) User crossed Checkpoint in reverse direction
Event OnCrossingChecker($userName,$Flags,$Time,$Object,$UserSpeed,$CircleIndex) # Player event
#privmsg(getplayervar($userName,"NickName"));
#privmsg("Action: ".$Flags);
#privmsg("Time: ".$Time);
#privmsg("Object: ".$Object);
#privmsg("CircleIndex: ".$CircleIndex);
#privmsg("Speed: ".$UserSpeed." ".getplayervar($userName,"UnitSpeed"));
EndEvent
Edit: Check for newest release in Release Thread.