Using variables to set progressive dates
I found a post that showed how you can use variables and triggers to automatically display the current date.
var currentDate = new Date()
var day = currentDate.getDate()
var month = currentDate.getMonth() + 1
var year = currentDate.getFullYear();
var player = GetPlayer();
var newName = day + "/" + month + "/" +year
DateValue is my variable in the storyline, it should be a text value
(per post by Sinchu Raj)
Does anybody know if I can use variable and triggers to have the system calculate a future date? For example, if I have a progressive scenario that starts on today's date but future actions happen in 1.5 months, 3 months and so on ... Is there a code that I can use to have the system obtain todays date then calculate the date in those intervals?
Any help would be appreciated!!