Difference between revisions of "Script/LevelBase"
From SF3
Line 8: | Line 8: | ||
==== Hero Functions ==== | ==== Hero Functions ==== | ||
− | + | Hero specific calls. | |
+ | {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpadding='7' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''PlayerHeroControlEnable''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Gives the player the full controls of his Hero Party back.'' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''PlayerHeroControlDisable''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Takes the full controls of Hero Party away.'' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''HeroBanterEnable''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Activates the Hero Bantern events again.'' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''HeroBanterDisable''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Deactivates that Hero Bantern events happen.'' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''HeroPartyGorTransformToOrc''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Manually transforms Gor the Changeling to his orc form.'' | ||
+ | |- | ||
+ | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
+ | | style='color: black; width: 90%; line-height: 1.0;' | '''HeroPartyGorTransformToAnimal''' ( ) | ||
+ | |- | ||
+ | | | ||
+ | | style = 'color: #505050; line-height: 0.5;' |''Manually transforms Gor the Changeling to his wolf form.'' | ||
+ | |} | ||
==== RTS Functions ==== | ==== RTS Functions ==== | ||
Line 14: | Line 52: | ||
− | ==== | + | ==== Sound & Music Functions ==== |
− | Functions for mainly starting specific musik tracks. | + | Functions for mainly starting specific musik tracks, or to trigger a specific sound. |
{| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpadding='7' | {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpadding='7' | ||
|- | |- | ||
Line 109: | Line 147: | ||
|} | |} | ||
− | + | Sounds | |
{| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpadding='7' | {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpadding='7' | ||
|- | |- | ||
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
− | | style='color: black; width: 90%; line-height: 1.0;' | ''' | + | | style='color: black; width: 90%; line-height: 1.0;' | '''PlaySound_ItemReceived''' ( ) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| | | | ||
− | | style = 'color: #505050; line-height: 0.5;' |'' | + | | style = 'color: #505050; line-height: 0.5;' |''Play's the specific sound for receiving an item'' |
|- | |- | ||
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
− | | style='color: black; width: 90%; line-height: 1.0;' | ''' | + | | style='color: black; width: 90%; line-height: 1.0;' | '''PlaySound_GenericStone''' ( ) |
|- | |- | ||
| | | | ||
− | | style = 'color: #505050; line-height: 0.5;' |'' | + | | style = 'color: #505050; line-height: 0.5;' |''Playing a generic stone sound'' |
|- | |- | ||
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
− | | style='color: black; width: 90%; line-height: 1.0;' | ''' | + | | style='color: black; width: 90%; line-height: 1.0;' | '''PlaySound_GenericWater''' ( ) |
|- | |- | ||
| | | | ||
− | | style = 'color: #505050; line-height: 0.5;' |'' | + | | style = 'color: #505050; line-height: 0.5;' |''Playing a generic water sound'' |
|} | |} |
Revision as of 10:14, 20 April 2017
Contents
class LevelBase
Work in Progress
Class Methods
General Functions
Coming soon.
Hero Functions
Hero specific calls.
void | PlayerHeroControlEnable ( ) |
Gives the player the full controls of his Hero Party back. | |
void | PlayerHeroControlDisable ( ) |
Takes the full controls of Hero Party away. | |
void | HeroBanterEnable ( ) |
Activates the Hero Bantern events again. | |
void | HeroBanterDisable ( ) |
Deactivates that Hero Bantern events happen. | |
void | HeroPartyGorTransformToOrc ( ) |
Manually transforms Gor the Changeling to his orc form. | |
void | HeroPartyGorTransformToAnimal ( ) |
Manually transforms Gor the Changeling to his wolf form. |
RTS Functions
Coming soon.
Sound & Music Functions
Functions for mainly starting specific musik tracks, or to trigger a specific sound.
void | PlayTrack_HeroGor ( ) |
Play's the theme of the Hero Gor the Changeling | |
void | PlayTrack_HeroIanna ( ) |
Play's the theme of the Hero Ianna the Singer | |
void | PlayTrack_HeroIsgrimm ( ) |
Play's the theme of the Hero Isgrimm the Smith | |
void | PlayTrack_HeroRohen ( ) |
Play's the theme of the Hero Rohen Tahir | |
void | PlayTrack_HeroUndergast ( ) |
Play's the theme of the Hero Undergast the Weaver | |
void | PlayTrack_HeroUram ( ) |
Play's the theme of the Hero Uram the Red | |
void | PlayTrack_HeroYria ( ) |
Play's the theme of the Hero Yria of the Light | |
void | PlayTrack_CharSentenza ( ) |
Play's the theme of the character Sentenza Noria | |
void | PlayTrack_CharAngar ( ) |
Play's the theme of the Angar Arandir | |
void | PlayTrack_CharRondar_1 ( ) |
Play's the theme of the Rondar Lacaine (Theme 1) | |
void | PlayTrack_CharRondar_2 ( ) |
Play's the theme of the Rondar Lacaine (Theme 2) | |
void | PlayTrack_CharRondar_combat ( ) |
Play's the combat theme of the Rondar Lacaine | |
void | PlayTrack_CharAndrasSong_1 ( ) |
Play's the song from Andra, Version 1 | |
void | PlayTrack_CharAndrasSong_2 ( ) |
Play's the song from Andra, Version 2 | |
void | PlayTrack_CharAndrasSong_3 ( ) |
Play's the song from Andra, Version 3 |
Sounds
void | PlaySound_ItemReceived ( ) |
Play's the specific sound for receiving an item | |
void | PlaySound_GenericStone ( ) |
Playing a generic stone sound | |
void | PlaySound_GenericWater ( ) |
Playing a generic water sound |