call_offset_vX

Can be used to call arbitrary functions inside Fallout. Different versions are used to call functions with different numbers of arguments. None of these functions will work unless AllowUnsafeScripting is enabled in ddraw.ini.


call_offset_r0

UNSAFE

int call_offset_r0(int address)

call_offset_r1

UNSAFE

int call_offset_r1(int address, int arg1)

call_offset_r2

UNSAFE

int call_offset_r2(int address, int arg1, int arg2)

call_offset_r3

UNSAFE

int call_offset_r3(int address, int arg1, int arg2, int arg3)

call_offset_r4

UNSAFE

int call_offset_r4(int address, int arg1, int arg2, int arg3, int arg4)

call_offset_v0

UNSAFE

void call_offset_v0(int address)

call_offset_v1

UNSAFE

void call_offset_v1(int address, int arg1)

call_offset_v2

UNSAFE

void call_offset_v2(int address, int arg1, int arg2)

call_offset_v3

UNSAFE

void call_offset_v3(int address, int arg1, int arg2, int arg3)

call_offset_v4

UNSAFE

void call_offset_v4(int address, int arg1, int arg2, int arg3, int arg4)