![]() |
MOUNT Property Broken? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: MOUNT Property Broken? (/Thread-MOUNT-Property-Broken) |
MOUNT Property Broken? - n1ghtwish - 03-03-2018 03:31 AM Is it just me or is the MOUNT readable property not functioning? Example: Code: [FUNCTION whatsmymount] All properties return 0 Output is always: "I am riding 0" Additionally, another issue I am experiencing with the MOUNT and DISMOUNT triggers: From ground to ride, MOUNT fires From ride to ground, DISMOUNT fires From ride to ride, DISMOUNT fires but MOUNT does not fire for the second ride Bug? Me = Idiot? RE: MOUNT Property Broken? - darksun84 - 03-03-2018 06:00 AM It seems that when you use mount by scripts or .show mount by client, the function that returns the mount use the rider instead of the ridden creature for making the checks RE: MOUNT Property Broken? - Abuelox - 03-03-2018 06:33 AM The same thing happens to me, it seems that it is the emulator's problem. RE: MOUNT Property Broken? - Coruja - 03-04-2018 03:46 AM I don't know if it's intentional, but on current code, the <MOUNT> property is used on the mount to return its rider, and not on the rider to return its mount. Same goes to MOUNT [uid] function since the wiki page says that <MOUNT> property should be used on the char to return its mount and MOUNT [uid] function should make the char ride on mount [uid], on latest build I updated the code to make it work like this RE: MOUNT Property Broken? - n1ghtwish - 03-06-2018 02:19 PM Works as expected now, thank you! |