Jump to content

How to subtract score every minute?


Recommended Posts

I'm making a mission wherein I want to time the player and reward players that complete the mission faster with a higher score. To this end, I set the score to 10,000 at the mission's start, and now I'm trying to set it up such that it subtracts 1 point for every in-universe minute that passes. However, I'm not sure how to get this to work properly. Any suggestions?

Link to comment
Share on other sites

You are correct, you can only modify score with constant values. Also, you can't have a loop running independently from your mission without disturbing it, there is no parallelism. You need to integrate a score loop before every objective node like this:

uZIj3r3.png

I have a display message there for debugging purposes, it can be an "always true" node. This node is the reference for the "time since" node. Those 3 need to be able to be activated multiple times, so remove the "once only" option.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...