Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
How can I switch scripting language from a script ?

How can I switch scripting language from a script ?

2004-02-12       - By lpiasecki76

 Back
Reply:     1     2     3     4  

Is it possible to set the scripting language from a script?            

For instance, I have Jscript set as default language and my particle event
script is also in Jscript.

I have a Vbsetup script which will pass a string, which is the script in
Jscript, as particle event script.

The problem is that if I set vb as default scripting language, and I run the
setup script, it works. But when I press play, then the particle event
script is called, which is written in JScript  produces an error (unless I
manually change scripting language).

My question therefore is: can I specify the scripting language from a
script, so that it would overwrite the scripting language set in the
preferences?

Don't ask me why an I doing the above in 2 languages. You'll see when I
release the particle goals script I've been working on (it's a bit late, but
I'll try to get it done in the upcoming days) :-)



Thank you,

Luke


<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas
-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@(protected)
  {font-family:Wingdings;
  panose-1 (See http://ose-1.ora-code.com):5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0cm;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  text-decoration:underline;}
span.EmailStyle17
  {mso-style-type:personal-compose;
  font-family:Arial;
  color:windowtext;}
@(protected) Section1
  {size:21.0cm 842.0pt;
  margin:72.0pt 89.85pt 72.0pt 89.85pt;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=EN-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is it possible to set the scripting language from a script?
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>For instance, I have Jscript set as default language and my
particle
event script is also in Jscript.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a Vbsetup script which will pass a string, which is
the
script in Jscript, as particle event script.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The problem is that if I set vb as default scripting
language,
and I run the setup script, it works. But when I press play, then the particle
event
script is called, which is written in JScript &nbsp;produces an error (unless I
manually change scripting language).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>My question therefore is: can I specify the scripting
language
from a script, so that it would overwrite the scripting language set in the
preferences?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Don&#8217;t ask me why an I doing the above in 2 languages.
You&#8217;ll
see when I release the particle goals script I&#8217;ve been working on (it&
#8217;s
a bit late, but I&#8217;ll try to get it done in the upcoming days) </span><
/font><font
size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings'>J<
/span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thank you,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Luke<o:p></o:p></span></font></p>

</div>

</body>

</html>