lmd_playercheck customskill target3

Status: 
Will not add

So basically, if the player doesn't have a value for the specified skill, lmd_playercheck will fire target3.

Also, wb robosite.

0
Your rating: None
RoboPhred
Offline
Joined: 05/06/2010
lmd_playercheck just blindly
Status: Pending»Will not add

lmd_playercheck just blindly scans the usability keys. Adding this would means it can not use the usability key system and would just be a nasty hack.

In the future, use an lmd_playercheck with a string comparison on an empty value to check if they have it or not. Use -1 for customskillcompare to do a direct text comparison.

This will not work for the current version, as it will use the text "0" for comparison if the skill is not set.

At any rate, I cant think of any case where you would need "0" as a valid skill value different from "empty".