Your AddTimers end up stacking, since your timer checks each if-statement, and say, your health and sanity are 100, then the code adds two AmountOfHealth timers. Then 3 seconds later, they both execute, and once again, adds 2 timers but does so twice because the two AmountOfHealth timers run, four timers run next time, etc.
So what we do, is we remove all the AddTimers, except one which will execute at the end of the whole Timer. This will keep the one looping timer.
Then we remove the last GetPlayerSanity(), because it doesn't do anything.
I need a example of script, of changing state of entity or something else. I need for elevator activation rods. Something like ifEntityState==then, I don't know, you are pro at these scripts. Example, when I put first guilding rod, or one of them then state is 1 if 2/3 of them are in guilding machine, the state is 2, when all rods are placed, state is 3, and something, ifGetEntityState==3 then (bla bla, there I know what to do, when it's done, I can create some particles, sounds and then unblock elevator lever and proceed to next gameplay event)
Hm, it's really working, but you can give a example of Sanityboost screen effect? Sure if it's exists.
This blue effect, but with changed color R G B A amount, or such kind of effect doesnt exist? I have some ideas how to use it. Can you help me? Thanks.
People, I have an question about models, it is possible to export model, with two textures per object and show them both? Everytime only one of texture is shown... To split these objects in two is almost impossible for noobie like me, so is possible to save both textures, is there a way out ?
Egypt CS
(This post was last modified: 03-27-2015, 06:43 PM by Catalyst.)
3D's Max has a function called ''Select by material ID'' making the splitting you want super easy, maya does not have this and I don't know about blender, but you could try googling for it.