View Rotation Style
 1-2  3-22  23-27

Previous
Next
 From:  BurrMan
4736.23 In reply to 4736.22 
Hi Michael,
I was able to get both the previous toggle scripts to work in Inside browser pane mode now.. Thanks! For the last post you made with the View Angle toggle, the last item was a "newang" in That script (As opposed to newvars).. It adopted to the viewpoint toggle script also!!! (Which used the "newvars" definition.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
4736.24 
Can you resume that these new scripts can make?
I am a bit losted :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mike K4ICY (MAJIKMIKE)
4736.25 
code:
script: /* Toggle view rotation style */ var newvrs, vrs = moi.view.rotationStyle; if ( vrs == 'World' ) newvrs = 'Free'; else if ( vrs == 'Free' ) newvrs = 'FirstPerson'; else newvrs = 'World'; moi.view.rotationStyle = newvrs; var sidepane = moi.ui.getUIPanel('moi://ui/SidePane.htm').document; if ( !sidepane.getElementById('viewrotationstyle') ) { sidepane.body.insertAdjacentHTML( 'beforeEnd', '<div id="viewrotationstyle" style="position:absolute; left:5px; bottom:5px;"></div>' ); } sidepane.getElementById('viewrotationstyle').innerText = newvrs;


Okay, hope this worked.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
4736.26 In reply to 4736.24 
Hi Frenchy,

"""""""""Can you resume that these new scripts can make?""""""""

One of the script "Toggles" the view mesh angle from a fine to coarse setting of 5, 10 and 25.. The other toggles the camera view/rotation type of free, around world Z axis and first person. The scripts are experimenting with "toggling" more than one value.. So repeated keypresses will cycle through a given value set. Lastly, they are putting the current value at the bottom of the sidepane as a readout, so you know the current setting.

Let me know if that doesnt make sense or is unclear somehow.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Frenchy Pilou (PILOU)
4736.27 In reply to 4736.26 
Thx for the explanation!
I must test them :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-2  3-22  23-27