Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page ***HELP***
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
Finally
Old
  (#1)
jv_map is Offline
Senior Member
 
Posts: 238
Join Date: Sep 2002
Location: Where I wanted to go today
  Send a message via MSN to jv_map  
Default Finally - 12-11-2002, 11:26 AM

[code:34d5a]
main:
exec gloal/friendly.scr

level waittill prespawn

level waittill spawn

$player item weapons/colt45.tik
$player item weapons/M1_garand.tik
level.script = "maps/test_test.scr"
$german_respawn thread german_respawn
end

german_respawn:
local.german = self
while(1)
{
// 'while' loops the iteration as long as the condition is met, 1 is always met
local.german waittill death
local.german = spawn models/human/wehrmact_soldier.tik
local.german.enableEnemy = 0 // don't attack enemies when running to the path node
local.german runto $respawn_location
local.german waittill movedone
local.german.enableEnemy = 1
// restart iteration
}
end
[/code:34d5a]

To spawn an Allied soldier, just change the line
local.german = spawn models/human/wehrmact_soldier.tik
to a line that spawns an allied model, so look up a model TIKI in pak0.pk3 and use that instead.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.