MOH:BT And MOH:SH script spawning?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

MOH:BT And MOH:SH script spawning?

Post by Master-Of-Fungus-Foo-D »

How do you spawn something into a map by script in Bt and SH? Ive tried it b4 and it doesnt work :cry: :cry: :cry: . Does anyone know how to get it to spawn things by script in BT or SH? HELP ME OUT HERE! :x :x :x
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

spawn something

That's all 8-)

like

spawn fx/mycooleffect.tik

It is usually convenient to assign the new object to a variable immediately:

local.mynewfx = spawn fx/mycooleffect.tik
Image
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

I mean, when i try to get the coordinates, it gives me

position: 0.00 0.00 0.00
angles: 0.00 0.00 0.00
AXIS: 0.00 0.00 0.00

what the HECK is axis?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply