Jump to content

Photo

User-defined function not running til the end

obse script function modding mod construction set

  • Please log in to reply
1 reply to this topic

#1
TheMedievalsKnights

TheMedievalsKnights

    Old hand

  • Supporter
  • PipPipPip
  • 710 posts

Hi,

 

I created the following OBSE function to convert an RGB color to HSV.

 

Spoiler

 

To test my function, I created a quest, where stage 20 has a result script that calls the function, (with arguments 100 200 50)

 

However, when I try my function ingame with setstage myquest 20, it seems my function does not go past "hue calculation" since "Began" gets printed in the console but not "Ended".


Edited by TheMedievalsKnights, 05 May 2020 - 05:05 PM.


#2
TheMedievalsKnights

TheMedievalsKnights

    Old hand

  • Supporter
  • PipPipPip
  • 710 posts

Ok rookie error I guess or bad python reflex, you don't need semi-column in your code







Also tagged with one or more of these keywords: obse, script, function, modding, mod, construction set

Page loaded in: 1.033 seconds