User:Pixloen/FPANModding/Classes and Methods

From Mizuumi Wiki
< User:Pixloen‎ | FPANModding
Revision as of 08:41, 21 December 2023 by Pixloen (talk | contribs) (start of the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BMvTbl

GetPlayerSide( void )

Returns the player side, as either 0 or 1 (Player 1 and Player 2 respectively).

SetPattern( int number / "string" name )

Sets the pattern of the object.

int number: Sets the pattern based on it's number in the HA6.

string name: Sets the pattern based on the code name in the HA6.

SetMuki( type direction )

Sets the facing direction of the object. type direction: _Direction_Left, _Direction_Right, _Direction_Auto, _Direction_Reverse

GetMuki( void )

Returns the facing direction of the object as either -1 or 1 (facing left and right respectively).

CBtlInfo

CBtlInfo( void )

Collects info about the current battle.

CBtlInfo.IsSelectBgm( void )

Whether the current playing BGM was player-chosen. Returns a bool.

CBtlInfo.GetSelectBgm( void )

Returns the current BGM number. -2 is Off / MUTE.

Navigation

For Beginners
Getting Started
File Structure
Installing Mods
Example Mods
Glossary
Links & Resources
File Formats & Software Guide
Hantei-chan
CGTOOL & CGLIB
.pat Effects
Palettes
DDS Images
Engine Documentation
Audio
Backgrounds
Classes and Methods
Cutscenes
D File Folder
Functions
Shaders
Quick Start
Getting Started
Installing Mods
Mods List
Guides
Character File Setup
Using Hantei-chan
Character Scripts
Miscellaneous
Dialogue
HUD and UI
Stages
Audio
Battle Scripts
CG & Patterns
Editng Vectors
Define
Documentation
Classes and Methods
Functions
HA6 Pattern Reference
UNI2 Modding Notes