playMaker

Author Topic: Set VSyncCount  (Read 6211 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Set VSyncCount
« on: June 15, 2015, 10: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, 11:01:11 AM by dudebxl »

Roger Lee

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Set VSyncCount
« Reply #1 on: March 26, 2016, 06: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: 15500
  • Official Playmaker Support
Re: Set VSyncCount
« Reply #2 on: March 30, 2016, 01:35:42 AM »
Hi,

 Thanks for catching this.

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

Bye,

 Jean

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Set VSyncCount
« Reply #3 on: December 11, 2016, 03: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, 03:51:57 AM by eotiti »

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Set VSyncCount
« Reply #4 on: December 25, 2016, 10:49:33 AM »
any one fix it ?

dudebxl

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