So I'm tryin to randomly place a marker, but I can't get this to work though it seems so simple:
When running this the marker obj_mark_3 stays just where it is put in the editor and I don't get any hints?_rExtract = random 2;
switch (_rExtract) do
{
case 0:
{
hint "0";
"obj_mark_3" setMarkerPos getMarkerPos "extract_mark_0";
};
case 1:
{
hint "1";
"obj_mark_3" setMarkerPos getMarkerPos "extract_mark_1";
};
case 2:
{
hint "2";
"obj_mark_3" setMarkerPos getMarkerPos "extract_mark_2";
};
};
Another one is that if I have player unit (leader of a group) in editor what is the name of the group? Does it even have one and if it doesn't how do I assign one?
HOME
Reply With Quote