Turok EX Modding Guide

Scripts kActor kWeapon

actor type used for the player's held weapons (not weapon pickups)

kWeapons are associated with a ScriptObjectWeapon

Methods

kPlayer& Owner()

returns a reference to the kPlayer that owns this weapon

void FireProjectile( kStr& path, float x, float y, float z, bool b = false )

kVec3 TransformToOwnerPosition()

kVec3 TransformToOwnerPosition( kVec3& v )