Navigation:  thinBasic Modules > TBDI (Direct Input) >

TBDI_JoyLoadEffect

Previous pageReturn to chapter overviewNext page

 

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