tennesseetitans
05-06-2007, 07:34 PM
I am in the process of creating a new map which features a lot of civilian interaction. For example, I have dogs racing and cars going around the street. One thing I would like to add a situation in which all infantry in a certian team pile into a limo (INI edited) and flee the city followed by police cars. I created all the teams to create the units along with starting scripts. I also created the triggers which initially creates the teams and a trigger that would fire the run away motion. To save me a load of time programming scripts and teams, I tried a new script option that I have never done before, which was change teams. The problem was that my game kept crashing and I do not know why. Here is an example of one of my scripts:
limo_create
Move to waypoint (Parameter=29)
Change team (Parameter=01000054, the name of the team that is programmed to flee the city).
I know this looks confusing, but why won't it work? I checked my number sequence and everything lines up correctly. Another question I have is that I would like to know if there is any way to tweak the INI in order to create citizens that do not wander. All my citixens stray far away from thier starting locations, and I would like them to stay in place/
Thank you.
I just thought of another question I had. What are local flags? I looked at some maps and I found that many triggers deal with setting local flags. I just would like to know what they are and how to use them.
limo_create
Move to waypoint (Parameter=29)
Change team (Parameter=01000054, the name of the team that is programmed to flee the city).
I know this looks confusing, but why won't it work? I checked my number sequence and everything lines up correctly. Another question I have is that I would like to know if there is any way to tweak the INI in order to create citizens that do not wander. All my citixens stray far away from thier starting locations, and I would like them to stay in place/
Thank you.
I just thought of another question I had. What are local flags? I looked at some maps and I found that many triggers deal with setting local flags. I just would like to know what they are and how to use them.