Jump to content

Mony Mortensen

Resident
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Mony Mortensen

  1. I have a rotation script. I would like to know where i can change the rotation axis. How much do you take to tell me? integer dialog_channel= 8; // set a dialog channel // list menu = [ "Out", "In"]; vector startPosition; float groundLevel; vector gVecLocalOffset2 = <0.0, 0.0, 0.0>; integer flag ; rotation vRotchild1; float displacement = 0; In() { gVecLocalOffset2 = <0,0,-displacement>; vRotchild1 = (rotation)((string)llGetPrimitiveParams( [PRIM_ROTATION] )); } default { // #1 Default state_entry() { llListen( dialog_channel, "", NULL_KEY, ""); } touch_start(integer total_number) { vRotchild1 = (rotation)((string)llGetPrimitiveParams([PRIM_ROTATION] )); llTargetOmega(<0,1,0>,0.3,PI); // llTargetOmega(,0.3,PI); } listen(integer channel, string name, key id, string choice ) { } }
  2. Hi, i want to script the following: I touch an object, 10 bottons apear, by pressing a botton a sentence apperars in local chat and finds the name of the avatar in front of me. For example: I touch @. /@ should be the name.
×
×
  • Create New...