Page 2 of 2

Posted: Thu Oct 15, 2009 11:38 pm
by HeavenBound
Well, there should be a .scr file like "urmapname.scr"...Open up notepad, and drag ur .scr file into notepad...Copy and paste the text in that .scr file and post it here......

Posted: Fri Oct 16, 2009 6:52 am
by dude77
thanks got that cheers!!
know how to post a map??

Posted: Wed Oct 21, 2009 12:21 am
by HeavenBound
HeavenBound wrote:Well, there should be a .scr file like "urmapname.scr"...Open up notepad, and drag ur .scr file into notepad...Copy and paste the text in that .scr file and post it here......

to copy hit ctrl and c at the same time..... lol

Posted: Wed Oct 21, 2009 6:28 pm
by dude77
u must think i'm stupid :)
once i COPY it where do i PASTE it,
and dont say something obvious please!!

Posted: Wed Oct 21, 2009 7:33 pm
by HeavenBound
You know how ur replying? Post it in the reply box...so we can read it....and see what's wrong... lol

Posted: Mon Oct 26, 2009 1:11 pm
by dude77
u cant read a map mate..
the guy asked for my MAP FILE and my script file, my script is already on the forum all i need to show is my map... but i dont think it will help.

Posted: Thu Oct 29, 2009 8:45 pm
by dude77
it seems on every map the same thing happens, he sees an enemy and it immediatly freezes and returns me to the game menu!! it something to do with a loop or something - it says on the error i posted

Try to use the script that 'smithy' posted earlier and see if the same thing happens to you...

Posted: Tue Nov 17, 2009 7:52 am
by dude77
exec global/auto.scr
exec global/friendly.scr

level waittill prespawn
level waittill spawn

//----------------------------------------------------------------------------
main:
//----------------------------------------------------------------------------

thread FriendInit //or waitthread FriendInit

end

//----------------------------------------------------------------------------
FriendInit:
//----------------------------------------------------------------------------


level.friendly1.targetname = friend1


$friend1.destination = $player


// Sets the type of friendly soldier

$friend1.friendtype = 1

// stagger how far away they keep from their destinations

$friend1.distance = 175

// setup the friendlies to follow the player...

$friend1 thread global/friendly.scr::friendlythink

end

Posted: Sat Jun 19, 2010 4:45 pm
by 1215drew
I was having a similar problem untill i figured this out.
insert $friend1.waittime = 0.1 BEFORE $friend1 thread global/friendly.scr::friendlythink. additionally, and this is just from examining the stock maps, move the destination friendtype and distance commmands to AFTER $friend1 thread global/friendly.scr::friendlythink. hope this helps.

Posted: Sat Jun 19, 2010 5:21 pm
by dude77
Great, i've been waiting ages for a reply, thanks!
but sadly since asking the question my computer crashed and i have currently not been mapping since as i have not got round to downloading it again! if i ever do i'll use your idea and i'll tell you if it works or fails

thanks