TBDI_JoyLoadEffect

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TBDI (Direct Input) >

TBDI_JoyLoadEffect

 

Description

 

Loads an effect file and returns the effect id.

 

Syntax

 

n = TBDI_JoyLoadEffect(JoyID, EffectFileName)

 

Returns

 

Number.

-1 in case of errors

 

Parameters

 

Name

Type

Optional

Meaning

JoyID

Numeric

No

Joystick ID number

EffectFileName

String

No

Effect file name, full path.

 

Remarks

 

Restrictions

 

See also

 

Examples