I spent a couple hours trying to find an answer to this question here in the forums and in the editors depot and couldn't find anything so i hope this wasn't answered already.
I'm trying to set it up so npc's in vehicles (in groups and individualy) randomly drive between towns, i set a game logic marker at eatch of the towns (named Town1, town2, ect.) and over those
a trigger randomly selecting another of the towns. But my problem being that i don't want to give specific unit names to the units for the triggers to work so i can add and remove units easy. And "_this" didn't seem to work, is that because when _this is used in the "on activation field" it refers to the trigger and not the unit triggering it?
The code i tryed was "this move getpos town2" (havn't added the randomization yet for ease of debugging) and it works as long i i replace this with the name of the npc (like "civ 1").
Anybody know what i am doing wrong?
Thanks in advance!