xmoonproductions.org https://xmoonproductions.org/ |
|
Clothes checking https://xmoonproductions.org/viewtopic.php?f=28&t=3713 |
Page 1 of 1 |
Author: | Eskarn [ Sat Feb 28, 2015 4:49 pm ] |
Post subject: | Clothes checking |
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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |