ASSISTA O VIDEO DE UM REFLAW RAPIDO NUM MODCHIP MATRIX 1.93 By fegargai@gmail.comPrimeira postagem realizada em 2012 ---- Nova postagem Fevereiro 2015 By Fernando Gaitan --Autor do video. ACAO: TOQUEEFEITO: GERA MENSAGEMdefault{ state_entry() { llSay(0, "!"); } touch_start(integer total_number) { llSay(0, "Touched."); }}ACAO: TOQUEEFEITO: LIGA E DESLIGAdefault //default state is mandatory{ state_entry() // runs each time the state is entered { llSay(0, "turning on!"); //object speaks! llSetColor(<1.0, 1.0, 1.0>, ALL_SIDES); // sets all sides to most bright // note the semicolons at the end of each instruction (do not put them at the end of if statements) } touch_start(integer total_number) // another event with only one function inside { state off; // sets the script to a new "state" and starts running "state off" }} // this curly bracket ends the body of the default state.state off // a second state besides "default"{ state_entry() // this is run as soon as the state is entered { llSay(0, "turning off!"); llSetColor(<0.0, 0.0, 0.0>, ALL_SIDES); // sets all sides as dark as possible } touch_start(integer total_number) { state default; }}ACAO: TOQUEEFEITO: OBJETO INVISIVELinteger hidden = FALSE; // Stores whether the object is visibledefault{ state_entry() { llSitTarget(<0,0,1>,<0,0,0,1>); // Set the target one meter above the ground llSetSitText("Pose!"); } changed(integer change) { if(change & CHANGED_LINK) // If someone has sat on, or "linked," to this prim... { key avataronsittarget = llAvatarOnSitTarget(); if( avataronsittarget != NULL_KEY ) //Someone is sitting on the object { // Before animating, first check if we have permission to do so: if ((llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) && llGetPermissionsKey() == avataronsittarget) { // If we do, we can animate: llStopAnimation("sit"); llStartAnimation("dance1"); } else { // If we dont, ask for them: llRequestPermissions(avataronsittarget, PERMISSION_TRIGGER_ANIMATION); // We'll animate in the run_time_permissions event, which is triggered // When the user accepts or declines the permissions request. } } } } run_time_permissions(integer perm) { if(perm) { // Place the code here! llStopAnimation("sit"); llStartAnimation("dance1"); } } touch_start(integer total_number) { if(hidden) { hidden = FALSE; llSetLinkAlpha(LINK_SET,1,ALL_SIDES); } else { hidden = TRUE; llSetLinkAlpha(LINK_SET,0,ALL_SIDES); } }} 23:42Tartafeucool!23:42TartafeuI am from management are23:42TartafeuAnd I am doing my strictu sensu in Education area23:42Mariai write about brazil stock exchanges sometimes. I'm a business journalist.23:42Mariabovespa, right?23:43TartafeuI am trying to discover an interesting use from virtual worlds ...23:43Tartafeuyes!23:43TartafeuI am a professor in an School23:43Mariarightnow, biggest uses are for classes, for small business meetings, forarchitects to show houses and buildigns to clients, and for cityplanning to design cities23:44TartafeuI am thinkin to create an environment where students could to live an experience about management history23:44TartafeuBut I would to domain the delopment of objects23:44Mariaon SecondLIfe, students run virtual shops... to see how they can buy and sell things -- for real money23:45Mariasmall amounts of money, but real money23:45TartafeuWhat is used to do that: blender? C++?23:45Mariathey have to do marketing, manage inventory, pay vendors, etc...23:45Mariathey don't need anything. it's prt of second life.23:45Mariayou just have to rent some space there23:45Mariayou can do that on OpenSim, too, using V$ for your payments...23:45Mariaor using PayPal micropayments23:46Mariaor you can create your own virtual currency, just for the class, and use it in the store23:46Mariathey