hey im trying to figure out how to check for clothes being on or off
Code:
loc.cs.item = state.stat.game.cloth_pose.dress_item;
loc.cs.y = GetClothState(loc.cs);
[loc.cs.y < state.stat.game.cloth_pose.dress_down]
i think thats the code but cant get it to work
Edit
got it to work
Code:
loc.cs.item = 0; //cloth_item[0] name = "dress" so dress
loc.cs.y = GetClothState(loc.cs);
[loc.cs.y < 1]// 0 seams to mean floor
doing that seams to work
Code:
state.stat.game.cloth_pose.dress_item
state.stat.game.cloth_pose.dress_down
are referenced chars\char_name\brain\state\stat.dat
if i got anything wrong here please correct me