Author Topic:  History value in scripts  (Read 235 times)

0 Members and 1 Guest are viewing this topic.

JAZZ 0R KILLER

  • Member
  • ***
  • Posts: 115
  • YT - Solo Crew
  • Awards Top contributors to the forum downloads.
    • View Profile
    • YouTube
    • Awards
  • Xbox: JAZZ 0R KILLER
History value in scripts
« on: May 02, 2018, 09:16:45 PM »
Wouldn't it be nice to be able to assign a history value to lets say, the r (red) in scripts like:
TintColor
SkyColor
FogColor

I would love to be able to do this for RGB.

Ex. History [100]
SkyColor [history:red,g,b]

The value of the r (red) would equal the value of your history *red*
Look at you being all cool!

AlienizdPixel

  • Tester
  • Supreme Member
  • *****
  • Posts: 2719
  • Hello
  • Awards 3 years on site Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 1 year on site
    • View Profile
    • Awards
  • Xbox: A1ienizdPixe1
Re: History value in scripts
« Reply #1 on: May 02, 2018, 09:42:23 PM »
A similar result should be possible with the use of variables.
-Alionz

JAZZ 0R KILLER

  • Member
  • ***
  • Posts: 115
  • YT - Solo Crew
  • Awards Top contributors to the forum downloads.
    • View Profile
    • YouTube
    • Awards
  • Xbox: JAZZ 0R KILLER
Re: History value in scripts
« Reply #2 on: May 02, 2018, 09:46:08 PM »
Please explain. I've tried variables, but didn't work for me. I did something wrong
Look at you being all cool!

AlienizdPixel

  • Tester
  • Supreme Member
  • *****
  • Posts: 2719
  • Hello
  • Awards 3 years on site Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 1 year on site
    • View Profile
    • Awards
  • Xbox: A1ienizdPixe1
Re: History value in scripts
« Reply #3 on: May 02, 2018, 09:56:06 PM »
I am unsure what I would need to explain, so I shall give an example on how to do this.
Code: [Select]
Var [red] = [Sys/Clan/History:"HistoryName"]
TintColor [red,50,64]
SkyColor [red,60,45]
Fog [512,512] [512] [30] [50] [red,40,65]
//Remove Sys and/or Clan depending on which form of history you are using.
//Replace "HistoryName" with the name of the history value you want to have effecting the red color.
This should result in the effects being susceptible towards the history value of "HistoryName" for the Red value.
« Last Edit: May 03, 2018, 08:32:39 AM by AlienizdPixel »
-Alionz

JAZZ 0R KILLER

  • Member
  • ***
  • Posts: 115
  • YT - Solo Crew
  • Awards Top contributors to the forum downloads.
    • View Profile
    • YouTube
    • Awards
  • Xbox: JAZZ 0R KILLER
Re: History value in scripts
« Reply #4 on: May 03, 2018, 07:56:06 PM »
Oh really? So you just type "red" for r? Stupid me tried doing [syshistory:red,g,b]
Look at you being all cool!