Page 1 of 1

Saubraten Spawing

Posted: October 10th, 2010, 11:32 am
by PizzaLover101
How I make it if I wanted to make a creature spawn when you pressed a button?

Re: Saubraten Spawing

Posted: October 10th, 2010, 3:39 pm
by chocolatepie33
eh... Keybinding?

Re: Saubraten Spawing

Posted: October 10th, 2010, 5:20 pm
by PizzaLover101
No, I mean, flip a switch, and 3 monsters spawn behind you, how would I do that?

Re: Saubraten Spawing

Posted: October 10th, 2010, 5:27 pm
by chocolatepie33
probably something like (this is 2.5 coding, and pseudocode even at that):

if ( SWITCH1 = 1 ) [ // 1 = toggled, (//) means comment
spawn monster 1 // repeated
]

Re: Saubraten Spawing

Posted: October 10th, 2010, 9:23 pm
by Hirato
to do it the sauerbraten way, you'd create a small creature cache somewhere
just suspend them on a trigger (trapdoor anyone? :D) with a teleport under it.
once you've done something, just trigger the trigger and teleport the creatures 'behind' the player

Re: Saubraten Spawing

Posted: October 11th, 2010, 8:28 pm
by daltonds1
idk go ask on there forums...