<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Moveable Hotspot automatically jump back in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127584#M23350</link>
    <description>&lt;BLOCKQUOTE&gt;Joachim wrote:&lt;BR /&gt;I try to make a script with a moveable hotspot, that shall jump back automatically. &lt;BR /&gt;
It should behave like a bell button: push the hotspot forward, then an action happens (another Parameter is changed), after that the button should jump back in the zero position. &lt;BR /&gt;
   &lt;BR /&gt;
Any ideas or experiences?&lt;/BLOCKQUOTE&gt;

You could nove your hotspot from the same inverse distance.&lt;BR /&gt;
&lt;BR /&gt;
In this exampe, the hotspot is the center of a spiral. &lt;BR /&gt;
Moving it up, number of revolutions increase,&lt;BR /&gt;
Moving it down, it decrease.&lt;BR /&gt;
&lt;BR /&gt;
The hotspot always returns to the centre of the spiral.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;	!!! -------- Number of Revolutions ----------
	add2 0, -nTurn
	hotspot2  0,  0    , uid, nTurn, 1+128 : uid = uid+1    ! base      
	hotspot2  0, -1    , uid, nTurn, 3     : uid = uid+1    ! ref    
	hotspot2  0,  nTurn, uid, nTurn, 2     : uid = uid+1    ! moving
	del 1&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Oct 2009 10:32:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-30T10:32:15Z</dc:date>
    <item>
      <title>Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127582#M23348</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I try to make a script with a moveable hotspot, that shall jump back automatically. &lt;BR /&gt;
It should behave like a bell button: push the hotspot forward, then an action happens (another Parameter is changed), after that the button should jump back in the zero position. &lt;BR /&gt;
 &lt;BR /&gt;
If I try to do it, either the button cannot be pressed, then no action happens or the buttons stays in a non zero position after pressing and parameter change and only a new GLOB_MODPAR_NAME could bring it back to zero. &lt;BR /&gt;
 &lt;BR /&gt;
Any ideas or experiences?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Oct 2009 21:11:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127582#M23348</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2009-10-29T21:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127583#M23349</link>
      <description>I know what you are trying to do and have not been able to do it myself either.&lt;BR /&gt;
I have done this with an on/off switch in the parameter list and it works fine there.&lt;BR /&gt;
Turn the boolean switch on (one) and other parameters change and then the switch resets back to off (zero).&lt;BR /&gt;
But as soon as you try to link a hotspot to that then the hotspot won't move and the parameters don't change.&lt;BR /&gt;
&lt;BR /&gt;
The only solution I can think of it to link the change of parameters to the change in the value of the hotspot.&lt;BR /&gt;
That way no matter how the hotspot is set as soon as you change it the other parameters you want will change.&lt;BR /&gt;
The hotspot stays where you leave it but the next time you change it again the other parameters change.&lt;BR /&gt;
&lt;BR /&gt;
Just tested and yes it works.&lt;BR /&gt;
You just have to put up with the fact that the hotspot doesn't snap back.&lt;BR /&gt;
&lt;BR /&gt;
If any others have any ideas it would be appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Attached is an object I use to keep track of when out template gets updated.&lt;BR /&gt;
The original parameter (Update drawn date) works and resets back to "Off" automatically.&lt;BR /&gt;
I have added a hotspot that will also reset the date and time ever time it is moved but I can't make this to automatically reset bac to the "Off" position after use.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 30 Oct 2009 04:00:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127583#M23349</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-10-30T04:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127584#M23350</link>
      <description>&lt;BLOCKQUOTE&gt;Joachim wrote:&lt;BR /&gt;I try to make a script with a moveable hotspot, that shall jump back automatically. &lt;BR /&gt;
It should behave like a bell button: push the hotspot forward, then an action happens (another Parameter is changed), after that the button should jump back in the zero position. &lt;BR /&gt;
   &lt;BR /&gt;
Any ideas or experiences?&lt;/BLOCKQUOTE&gt;

You could nove your hotspot from the same inverse distance.&lt;BR /&gt;
&lt;BR /&gt;
In this exampe, the hotspot is the center of a spiral. &lt;BR /&gt;
Moving it up, number of revolutions increase,&lt;BR /&gt;
Moving it down, it decrease.&lt;BR /&gt;
&lt;BR /&gt;
The hotspot always returns to the centre of the spiral.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;	!!! -------- Number of Revolutions ----------
	add2 0, -nTurn
	hotspot2  0,  0    , uid, nTurn, 1+128 : uid = uid+1    ! base      
	hotspot2  0, -1    , uid, nTurn, 3     : uid = uid+1    ! ref    
	hotspot2  0,  nTurn, uid, nTurn, 2     : uid = uid+1    ! moving
	del 1&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Oct 2009 10:32:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127584#M23350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-30T10:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127585#M23351</link>
      <description>What I am trying to do, is to move entries of a list one position up and down. &lt;BR /&gt;
I have done this in the User Interface by one checkbox up, one checkbox down for each line. When I click on a checkbox, the entry of the line moves up (the array entry) and the entry that was above, moves one line down. &lt;BR /&gt;
This works without no problems. &lt;BR /&gt;
 &lt;BR /&gt;
But when I try to transfer this principle (moving of array entries one field up or down), it works as well, but I cannot set the hotspot back to zero like the Parameter of the Checkbox. If I do this by PARAMETERS, there will be no movement at all. I just do it by clicking on another Hotspot twice to get a new GLOB_MODPAR_NAME event that can cause the hotspot to get its value back to zero. But this is not satisfying. &lt;BR /&gt;
 &lt;BR /&gt;
Olivier, your suggestion, does not work, because the parameter value is still not zero (what I am needing). I think, there might be a trick with PARAMETERS and GLOB_MODPAR_NAME.</description>
      <pubDate>Fri, 30 Oct 2009 15:29:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127585#M23351</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2009-10-30T15:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127586#M23352</link>
      <description>2 quick comment without actually solving anything:&lt;BR /&gt;
&lt;BR /&gt;
1. I'd prefer ui_pict_button or ui_infield{3} method 6 to a simple checkbox.&lt;BR /&gt;
&lt;BR /&gt;
2. Try to stretch a placed &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Armchair 01&lt;E&gt;&lt;/E&gt; from AC Library 13 to more than 2x2 meters. Then you'll see some triggering hotspots. (Sorry for the spoiler...)&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Zsolt</description>
      <pubDate>Fri, 30 Oct 2009 15:59:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127586#M23352</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2009-10-30T15:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127587#M23353</link>
      <description>Kedves Zsolt,&lt;BR /&gt;
&lt;BR /&gt;
Great: I like it!&lt;BR /&gt;
I will implement this issue on my next objects...&lt;BR /&gt;
&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Friendly&lt;BR /&gt;
Fabrizio</description>
      <pubDate>Fri, 30 Oct 2009 16:37:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127587#M23353</guid>
      <dc:creator>Fabrizio Diodati</dc:creator>
      <dc:date>2009-10-30T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127588#M23354</link>
      <description>Zsolt,&lt;BR /&gt;
you mean the tic-tac-toe game on "Armstuhl_2 13" in german library? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;
Nice gimmik!&lt;BR /&gt;
&lt;BR /&gt;
The object must work in AC 10, so both UI metods are too new. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 30 Oct 2009 17:00:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127588#M23354</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2009-10-30T17:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127589#M23355</link>
      <description>Yes, I was sure you'd like it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
(I'm really sorry for you dealing with AC10...)&lt;BR /&gt;
&lt;BR /&gt;
Regs,&lt;BR /&gt;
Zsolt</description>
      <pubDate>Fri, 30 Oct 2009 17:27:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127589#M23355</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2009-10-30T17:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127590#M23356</link>
      <description>&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;2. Try to stretch a placed &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Armchair 01&lt;E&gt;&lt;/E&gt; from AC Library 13 to more than 2x2 meters. Then you'll see some triggering hotspots. (Sorry for the spoiler...)&lt;/BLOCKQUOTE&gt;

Ahh, I can see the true reason teamwork2 was introduced - networked tic-tac-toe! Quality! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_lol.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 30 Oct 2009 17:55:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127590#M23356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-30T17:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127591#M23357</link>
      <description>&lt;BLOCKQUOTE&gt;Joachim wrote:&lt;BR /&gt;
Olivier, your suggestion, does not work, because the parameter value is still not zero (what I am needing). I think, there might be a trick with PARAMETERS and GLOB_MODPAR_NAME.&lt;/BLOCKQUOTE&gt;

I was afraid that it was not so simple, or to misunderstood the question. Sorry, I'm out of ideas.&lt;BR /&gt;
&lt;BR /&gt;
On other hand, I have quite the same object as Barry.&lt;BR /&gt;
A boolean parameter in the UI allows date and time to remain fixed (Off), or to update (On), &lt;BR /&gt;
(GLOB_MODPAR_NAME and parameters, as you said). It works fine.&lt;BR /&gt;
&lt;BR /&gt;
Except if I put a graphical hotspot for this boolean parameter.&lt;BR /&gt;
Just touching  the hotspot, or at each rebuild and regenerate, date and time update, no matters if the parameter is Off. &lt;BR /&gt;
&lt;BR /&gt;
Weird. I avoid to use hotspot switch in this situation. Just UI.</description>
      <pubDate>Fri, 30 Oct 2009 20:19:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127591#M23357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-30T20:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Moveable Hotspot automatically jump back</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127592#M23358</link>
      <description>&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;2. Try to stretch a placed &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Armchair 01&lt;E&gt;&lt;/E&gt; from AC Library 13 to more than 2x2 meters. Then you'll see some triggering hotspots. (Sorry for the spoiler...)&lt;/BLOCKQUOTE&gt;

Nice easter egg and example.  "extra_backrest", huh?   &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;  Just got a headache reading the code!  Perhaps the most clever bit of GDL in the library...  Nice touch of turning off the hotspots once the game is 'won', too.&lt;BR /&gt;
&lt;BR /&gt;
K</description>
      <pubDate>Fri, 30 Oct 2009 22:24:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Moveable-Hotspot-automatically-jump-back/m-p/127592#M23358</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-10-30T22:24:09Z</dc:date>
    </item>
  </channel>
</rss>

