need help

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

need help

Post by sg.Pepper »

When i spawn AI from script like
spawn "human/1st-ranger_private.tik" origin $scautspawn.origin targetname "scaut"
to MP map, how can i do to move him to some location?
thanks
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Does your map have pathnodes ? Or a .pth file ?
Image
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Post by sg.Pepper »

pathnodes - yes,
he (human/multiplayer_allied_1st-ranger_captain.tik) already move with command moveto.
With how command can i use other animations in anim or global folder of (pak0.pk3)?
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

there is

runto
walkto
crouchto
and there might be
proneto,
never tried it.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Post by sg.Pepper »

thanks
and how he can du he speakimg?
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

$guy say soundclip

the soundclip is in the sounds folder, i've never really used that so i can't guarantee it... it's probably a good idea to use this after that...

$guy waittil saydone

cheers and great maps m8, keep up the good work! :)
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply