Hi all!
Now I'm trying to create my first mod, which includes several cutscenes and dialogues. After ending of one cutscene necessary that NPS moved to another point in the same room. I insert this script in the end of cutscene, but nothing happens. What am I doing wrong in this script?
#include "utility_h"#include "wrappers_h"
void main(){object oNpc = GetObjectByTag("hall_manager");vector vLocation = Vector(-12.5079f, -2.80868f, 0.40071f);
if (IsObjectValid(GetObjectByTag("hall_manager")) == TRUE){SetPosition(oNpc, vLocation, FALSE);}}
I added this NPC to location in origin campaign with PRCSCR system and can not think of another way to move NPC after the cutscene.
Trouble with script
Débuté par
Tiberium_79
, mai 11 2013 11:06





Retour en haut







