Hotspot2 text on cyclus [i]
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-14 01:01 PM
2016-07-14
01:01 PM
I have problem with to move text2 via HOTSPOT2. I create hotspot, but if i put more points, so crash it and show me only (.) I try what it do this problem and this do only, if hotspot2 on text2
------
HOTSPOT2 moxe,0,30,moveY2, 1+128
HOTSPOT2 moxe,-0.1,31,moveY2, 3
HOTSPOT2 moxe, moveY2, 32, moveY2,2
HOTSPOT2 0,moveY2,33,moxe, 1+128
HOTSPOT2 -0.1,moveY2,34,moxe, 3
HOTSPOT2 moxe, moveY2, 35,moxe,2
ADD2 insertX+moxe,insertY+moveY2
ROT2 alfa2D
text2 0,0, STR (text,2,0)
DEL TOP
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-16 11:28 AM
2016-07-16
11:28 AM
Maybe you can share your object here. It's hard to fix the problem without getting all information.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-18 07:56 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-18 07:48 PM
2016-07-18
07:48 PM
Hi.
The polyline script! Great! Glad somebody is still using it. I thought it had diluted over time. Spawned some interesting objects.
Anyway, couldn't find all the code and modifications from the screenshots, but the basic problem here is that you are trying to use the values from the "moxe" array and you are not giving it new values, so the object just works with the five values that the array has. You can see in the master script that arrays grow as new points are created. You need to do this for every array/parameter, so that if you use it in a loop that has 100 iterations because there are 100 points you won't run out of values. It stops at line 85 of the 2D script, and that's where you are creating new points from the "moxe" values. It is asking for value number 6 of the "moxe" array, but you only have 5 values there.
Hope that helps.
Best regards.
The polyline script! Great! Glad somebody is still using it. I thought it had diluted over time. Spawned some interesting objects.
Anyway, couldn't find all the code and modifications from the screenshots, but the basic problem here is that you are trying to use the values from the "moxe" array and you are not giving it new values, so the object just works with the five values that the array has. You can see in the master script that arrays grow as new points are created. You need to do this for every array/parameter, so that if you use it in a loop that has 100 iterations because there are 100 points you won't run out of values. It stops at line 85 of the 2D script, and that's where you are creating new points from the "moxe" values. It is asking for value number 6 of the "moxe" array, but you only have 5 values there.
Hope that helps.
Best regards.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-19 09:57 AM
2016-07-19
09:57 AM
sinceV6 wrote:
Hi.
The polyline script! Great! Glad somebody is still using it. I thought it had diluted over time. Spawned some interesting objects.
Anyway, couldn't find all the code and modifications from the screenshots, but the basic problem here is that you are trying to use the values from the "moxe" array and you are not giving it new values, so the object just works with the five values that the array has. You can see in the master script that arrays grow as new points are created. You need to do this for every array/parameter, so that if you use it in a loop that has 100 iterations because there are 100 points you won't run out of values. It stops at line 85 of the 2D script, and that's where you are creating new points from the "moxe" values. It is asking for value number 6 of the "moxe" array, but you only have 5 values there.
Hope that helps.
Best regards.
Thank you for answear, can you say, how to concretely fix?
I tried add more value on "moxe", can you help me?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-19 04:59 PM
2016-07-19
04:59 PM
nGhost wrote:Sure. Just read the master script. You'll see that there is a part where arrays grow as new points are added to the polyline. You need to do this for your parameters so you don't run out of values. If you manually add new values to the parameters you'll run out eventually, so this has to be done automatically in the script.
Thank you for answear, can you say, how to concretely fix?
I tried add more value on "moxe", can you help me?
Best regards.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-07-22 01:43 PM
2016-07-22
01:43 PM
can anybody help me with bend via HOTSPOT2.
I have polyline and i want add to 2D script bend line via hotspot, but I dont know how do it.
I send screen, how I do that.
I have polyline and i want add to 2D script bend line via hotspot, but I dont know how do it.
I send screen, how I do that.
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »