SO I started out making a Hungry variable for a NPC in Seyda neen and is there a way to make it so this person can travel into another cell and get some food.
Or will I have to make another version of this NPC for the cell I want it to go into?
"Eldafire"->PositionCell, X, Y, Z, ZRot, "CellID"
"Eldafire"->PositionCell, X, Y, Z, ZRot, "CellID"
short Eldafire_Hungryif (Gamehour == 8) set Eldafire_Hungry to 1endifif (Eldafire_Hungry == 1)Eldafire->AItravel (x,y,z)Eldafire->Positioncell (Cordinates, cell)
short Eldafire_Hungryshort Eldafire_eatingif (Gamehour == 8) set Eldafire_Hungry to 1endifif (Eldafire_Hungry == 1);I assume you have real numbers here Eldafire->AItravel (x,y,z)if ( Eldafire->getAIPackageDone == 1 ) Eldafire->Positioncell (Cordinates, cell) set eldfire_eating to 1endIfif ( getCurrentCell "cell" == 1 ) if ( eldafire_eating == 1 ) Eldafire->Positioncell (Cordinates, cell) endIfendIf