![]() |
Make NPC Walk Only - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Make NPC Walk Only (/Thread-Make-NPC-Walk-Only) |
Make NPC Walk Only - Chukwuemeka - 05-16-2017 10:27 PM Hey, Is there a way I can make a NPC walk only? I don't want it to run. I tried using TAG.OVERRIDE.MOVERATE, but it only makes him go faster. Any tips? Thanks RE: Make NPC Walk Only - darksun84 - 05-16-2017 11:56 PM You can change/override (in the case the NPC uses human male or female body) the CAN property of the NPC's Chardef Example: Code: [CHARDEF c_ninja] By default c_ninja will inherit the CAN property of c_man (CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_MOUNT), so we have to override them by adding a new CAN property (see the example above). RE: Make NPC Walk Only - WRWR - 05-17-2017 12:31 AM SPEEDMODE=2 RE: Make NPC Walk Only - darksun84 - 05-17-2017 01:02 AM Speedmode it's for player only RE: Make NPC Walk Only - Chukwuemeka - 05-17-2017 03:30 AM (05-16-2017 11:56 PM)darksun84 Wrote: You can change/override (in the case the NPC uses human male or female body) the CAN property of the NPC's Chardef Thank you very much, I had no idea it was this simple ![]() |