You can declare three types of variables through scripts and as global variables.

short         -32,768 to 32,767
long         -2,147,483,648 to 2,147,483,647
float         3.4E +/- 38 (7 digits)

Reserved variables for companions

short     stayOutside
When this value is 1 the followers in the PC’s group will wait outside the interiors for him to come back out.

short     companion
When this value is 1 you will be given a companion inventory menu selected by dialogue. If the creature doesn’t talk, he is alive, and you activate him you will be taken directly to the companion inventory menu.

float     minimumprofit
This is how much of the PC’s stuff this bounty hunter is carrying. The value gets modified every time an item is dropped on or removed from the companion inventory menu.