lmd_playercheck jedi/sith

Status: 
Pending

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.

3.5
Your rating: None Average: 3.5 (2 votes)
RoboPhred
Offline
Joined: 05/06/2010
There is currently no way to

There is currently no way to do this, as both are the same profession internally. Will think on the best way to fix this.

Siebe
Offline
Joined: 05/26/2010
i'm no modder but if you

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

Hacky1432
Offline
Joined: 05/20/2010
Phred maybe Just Check if a

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.

RoboPhred
Offline
Joined: 05/06/2010
Splitting it up would

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.

Petzi
Offline
Joined: 05/31/2010
There should be an entity to

There should be an entity to check what skills/forcepowers the player has and at one level. It would solve this problem, among others.

Petzi
Offline
Joined: 05/31/2010
There should be an entity to

There should be an entity to check what skills/forcepowers the player has and at one level. It would solve this problem, among others.

VideoProfessor
Offline
Joined: 05/29/2010
player trigger -> target_give

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?

Siebe
Offline
Joined: 05/26/2010
that might work if you have

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