Author Topic: Just for old Times sake  (Read 8651 times)

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: Just for old Times sake
« Reply #15 on: November 19, 2011, 09:02:35 am »
   I looked at your script and it seems the scripting has become more advanced than I am used to.  I have also been looking at the vrHaptek scripting, vr loads and stores the variables and I think you just declare them.  I don't often change characters or voices but your scripting is still useful and shows what can be done.
  With win 7 and Hal 6.2 I'm running into some unexpected and strange things.  This is the script I used:
If InStr(vrUserSentence, "wear the pantsuit") <> 0 Then
   vrFile = SSNRM 2048.jpg
    HalCommands = "<HAPTEXT>" &  "\settexture [tex= Bodyskins/" & vrFile & "]</HAPTEXT>"
   GetResponse = "Do you like this? "
End If
  I said wear the pantsuit and the background changed and her clothing changed but it was the wrong clothing,  also the response was not Do you like this.  I checked the time to be sure it wasn't the vrHaptek changing clothing which I believe changes when the hour changes.
Anyways thanks,
Carl2