sexylady Waco Posted March 10, 2015 Share Posted March 10, 2015 Hi,noop question, can I put multiple scripts in one script file.for example I use avistter multi pos in one prim script and i have one script for sitter 0 and one for sitter 1 so can I put these scripts in one script file and how? Link to comment Share on other sites More sharing options...
Ohjiro Watanabe Posted March 10, 2015 Share Posted March 10, 2015 No, that's not the way to do it. Look on their website here: http://avsitter.com/#couplesprimsetup Link to comment Share on other sites More sharing options...
sexylady Waco Posted March 10, 2015 Author Share Posted March 10, 2015 it is not related to note card i'm asking about scripts file Link to comment Share on other sites More sharing options...
Ohjiro Watanabe Posted March 10, 2015 Share Posted March 10, 2015 I didn't say anything about a notecard. The link is to the website for AVsitter which tells you how to add multiple sits to furniture. Try watching the video. Link to comment Share on other sites More sharing options...
sexylady Waco Posted March 10, 2015 Author Share Posted March 10, 2015 i know how to do this i mean when attach one Prop for multi poses so i write that in script Link to comment Share on other sites More sharing options...
Amethyst Jetaime Posted March 10, 2015 Share Posted March 10, 2015 Your question is confusing. You don't write in any script for props. The code for the prop goes on the config notecard. You put a script in the prop then the prop in the prim with the animations and scripts. When you set up your pose after you have the position right you can then choose a prop to go with it and position it in relation to the pose. You can use the same prop for multiple poses if you want just by choosing it each time you set a pose. When you are finished setting up the poses and props and hit dump, all the coding you need is included in the data dumped to paste on the notecard. This is a very simplified version of how it works. You really should spend more time watching the videos that the creator provides that show you how to do this and reading the directions on the website. They are good and will answer all your questions. Link to comment Share on other sites More sharing options...
sexylady Waco Posted March 10, 2015 Author Share Posted March 10, 2015 To be clear i mean the below script can i put 2 scripts for example one for sitter 0 and another for sitter 1 in the same script file. and should i put the script file in the Prim or in the Prop (i put it in Prim but just to confirm that this is the right place) /****************************************************************** * This example uses 90200 to rez a prop while any one of a number of poses are playing. * Props remain until a different pose is selected or another prop of same prop group is rezzed. * Useful if you want the same prop to remain rezzed for several poses. * May help save prop script memory in cases you are re-using the same prop over and over. * * To use: * 1. Set up a regular prop that rezzes with a pose as usual. * * 2. Change the PROP's <trigger_name> in the notecard to be a completely new name. * The new name should *NOT* match a pose name so the prop will rez *ONLY* by this script. * e.g. PROP PicnicProp... * * 3. Edit the "prop_trigger" string below to match this name. * e.g. string prop_trigger = "PicnicProp"; * * 4. Edit "poses" list below to include all the POSE or SYNC that you want to rez the prop for. * * 5. Edit "SITTER" below to match the sitter # the props are for (or use -1 to ignore sitter #). * * If multiple copies of this script are used to rez multiple props at the same time, then each PROP should be set to a different "GROUP". ******************************************************************/ string prop_trigger = "PicnicProp"; list poses = ["Sit1","Sit2","cuddle","kiss"]; integer SITTER = 0; /****************************************************************** * DON'T EDIT BELOW THIS UNLESS YOU KNOW WHAT YOU'RE DOING! ******************************************************************/ integer rezzed; default{ link_message(integer sender, integer num, string msg, key id){ if(num==90045){ list data = llParseStringKeepNulls(msg,["|"],[]); string POSE_NAME = llList2String(data,1); integer SITTER_NUMBER = (integer)llList2String(data,0); if(SITTER_NUMBER==SITTER || SITTER==-1){ if(llListFindList(poses,[POSE_NAME])!=-1){ if(rezzed==FALSE){ llMessageLinked(LINK_THIS,90200,prop_trigger,""); rezzed=TRUE; } } else{ llMessageLinked(LINK_THIS,90200,"remprop_"+prop_trigger,""); // clear the prop rezzed=FALSE; } } } else if((num==90065 && (integer)msg==SITTER) || num==90030){ //sitter stands or swaps rezzed=FALSE; } } } Link to comment Share on other sites More sharing options...
Aethelwine Posted March 11, 2015 Share Posted March 11, 2015 ... Editted. Ok I see you are using scripts from here. Sorry way beyond my knowledge. I don't know lsl scripting and not really sure what it is you are asking either. Link to comment Share on other sites More sharing options...
sexylady Waco Posted March 12, 2015 Author Share Posted March 12, 2015 any idea when i try to use this script twice the props disappear. Link to comment Share on other sites More sharing options...
sexylady Waco Posted March 13, 2015 Author Share Posted March 13, 2015 thank you all. the fix in avsitter update. this is the link in case if anyone face this. https://avsitter.com/qa/89/how-make-many-version-rez-same-prop-for-several-poses-script Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now