Skip to content

ModCS.ValueView

The ModCS.ValueView namespace contains functions related to the ValueView functionality.

ModCS.ValueView.Clear()

ModCS.ValueView.Clear()

Clears all ValueViews on screen.

ModCS.ValueView.SetPlayer()

ModCS.ValueView.SetPlayer(num)

Puts a ValueView of number amount num at the Players position.

ModCS.ValueView.SetNpc()

ModCS.ValueView.SetNpc(npc, num)

Puts a ValueView of number amount num at a ModCS.Npc.

Sets the camera target to Game object obj (Can be ModCS.Player, a ModCS.Npc, a ModCS.Caret or a ModCS.Bullet)

ModCS.ValueView.SetCaret()

ModCS.ValueView.SetCaret(caret, num)

Puts a ValueView of number amount num at a ModCS.Caret.

ModCS.ValueView.SetBullet()

ModCS.ValueView.SetBullet(bullet, num)

Puts a ValueView of number amount num at a ModCS.Bullet.

ModCS.ValueView.ActMain()

ModCS.ValueView.ActMain()

Runs the ValueView action code -- Should probably only be ran in a case where you're overwriting a game mode.

ModCS.ValueView.DrawMain()

ModCS.ValueView.DrawMain(fx, fy)

Draws the ValueViews on screen at the camera position fx and fy, making it function for a new game mode the user may add.