Hi! I've been trying to use the ut_teammove command but I can't get it done. Can someone help me with this?
I've found this code on the wiki:
void UT_TeamJump(int nTeamID,string sTagDestination = "",int bRun = FALSE,float fRange = 0.0,int bNewHome = FALSE);
What is nTeamID? Should I enter the team number or...?
Thanks.
UT_TeamMove
Débuté par
Tjonno
, janv. 07 2011 11:51
#1
Posté 07 janvier 2011 - 11:51
#2
Posté 07 janvier 2011 - 03:24
Yes, that is the team number.
#3
Posté 07 janvier 2011 - 03:27
But still it doesn't work. Am I missing something.
#4
Posté 07 janvier 2011 - 04:28
It would help if you posted your code.
#5
Posté 07 janvier 2011 - 04:37
#include "utility_h"
void UT_TeamJump(
int nTeamID,15string sTagDestination = "napad",int bRun = TRUE,float fRange = 0.0,int bNewHome = FALSE);
void UT_TeamJump(
int nTeamID,15string sTagDestination = "napad",int bRun = TRUE,float fRange = 0.0,int bNewHome = FALSE);
Modifié par Tjonno, 07 janvier 2011 - 04:37 .
#6
Posté 07 janvier 2011 - 04:39
Ah, the code breaks when I add it.
I added the waypoint and team number but it still isn't working.
Thanks for bothering.
I added the waypoint and team number but it still isn't working.
Thanks for bothering.
Modifié par Tjonno, 07 janvier 2011 - 04:55 .
#7
Posté 07 janvier 2011 - 04:56
Timelord, did you manage to find something?
#8
Posté 07 janvier 2011 - 05:10
You should replace the variables with the actual values in your function call.
#include "utility_h"
UT_TeamJump(15, "napad", TRUE, 0.0, FALSE);
You cannot have this as a stand-alone script either. It should be part of some other script that gets called by the event you are trying to put this in.
I suggest taking a look at some of the Bioware scripts first to understand the structure and usage and get a grasp on the events and which scripts handle which events (the core scripts in the toolset should help you with this last bit)
#include "utility_h"
UT_TeamJump(15, "napad", TRUE, 0.0, FALSE);
You cannot have this as a stand-alone script either. It should be part of some other script that gets called by the event you are trying to put this in.
I suggest taking a look at some of the Bioware scripts first to understand the structure and usage and get a grasp on the events and which scripts handle which events (the core scripts in the toolset should help you with this last bit)
#9
Posté 07 janvier 2011 - 05:22
Ok, get it. Still I want this script to trigger in a dialogue line. Thanks, scripting is confusing but I'm getting the hand of it.
#10
Posté 07 janvier 2011 - 05:31
If it is called in a dialogue, it should work as a standalone script.





Retour en haut






