lmd_playercheck jedi/sith
I haven't been able to find a way to check if a player is a jedi or a sith. I know there's force user - mercenary - no profession division, but not jedi - sith.
- Login to post comments
There is currently no way to do this, as both are the same profession internally. Will think on the best way to fix this.
i'm no modder but
if you weren't concerned about the already placed ents.
couldn't you just split them up and have instead of selecting force user when you do /profession have jedi and sith on the /profession list?
then idk if its possible but have them register as proffesion 5 and 6 on the profession key for ents. and then the 1 could still be both.
like I said, i'm no modder, just a thought
Phred maybe Just Check if a Player has Dark Force power skilled then he is a sith other way if the player has Light force Its a Jedi.
Splitting it up would probably be the best way, but it would take some work, especially ensuring that old accounts will transfer over properly. Also, it would once again break backwards compatibility, and all maps would have to be modified to use the new values.
The profession check key is a bit mask, to allow for checking multiple professions at once. While builders could then use the combined values for light/dark jedi, there is no way to update the old map files, and this would break way too many things.
I will not hack out the profession key to be a linear list of every combination possible, as that would get messy fast, and it won't be intuitive. The user would have to write down all the values to remember them.
There should be an entity to check what skills/forcepowers the player has and at one level. It would solve this problem, among others.
There should be an entity to check what skills/forcepowers the player has and at one level. It would solve this problem, among others.
player trigger -> target_give -> DS and LS Boons -> if player picks up LS boon he is LS, if player picks up DS boon he is DS (have each boon target separate things) Make the boons only last like 0.1 seconds, etc..
would that work?
that might work
if you have the boon target what you want them to get in the first place,
but still its messy,
you would end with extra of the opposite boon
still if it works it works. temp solution to the problem
- Login to post comments
