playMaker

Author Topic: Set VSyncCount  (Read 2360 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Set VSyncCount
« on: June 15, 2015, 07:57:32 AM »
Set VSyncCount

The number of VSyncs that should pass between each frame. Value must be 0, 1 or 2.
« Last Edit: June 15, 2015, 08:01:11 AM by dudebxl »

Roger Lee

  • Playmaker Newbie
  • *
  • Posts: 22
    • View Profile
Re: Set VSyncCount
« Reply #1 on: March 26, 2016, 03:29:32 PM »
I know this topic is old, but I just wanted to report an error in this action.

The || operators in the error reporting IF statement should be &&'s.

All three should be true before the error, not just one.  I fixed it and it works right now.

Thanks for the action!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13321
  • Official Playmaker Support
    • View Profile
Re: Set VSyncCount
« Reply #2 on: March 29, 2016, 10:35:42 PM »
Hi,

 Thanks for catching this.

@dudebxl. Will you put in on the Ecosystem? else I can do it.

Bye,

 Jean

eotiti

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: Set VSyncCount
« Reply #3 on: December 11, 2016, 01:19:25 AM »
i set int = 1 , or 2 , 0
but it still error
please some one fix this action

Value must be 0, 1 or 2
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:201)
HutongGames.PlayMaker.FsmState:OnEnter() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:169)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2556)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2514)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2442)
HutongGames.PlayMaker.Fsm:Start() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1757)
PlayMakerFSM:Start() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:470)
« Last Edit: December 11, 2016, 01:51:57 AM by eotiti »

eotiti

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: Set VSyncCount
« Reply #4 on: December 25, 2016, 08:49:33 AM »
any one fix it ?

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: Set VSyncCount
« Reply #5 on: December 27, 2016, 10:16:30 AM »
Ok give me a few days and I will check it out