Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. addHook("ThinkFrame", do
  2. for player in players.iterate
  3. if player.mo
  4. and player.mo.eggspawn==1
  5. P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z + player.mo.height*2, MT_EGGMOBILE)
  6. //or this: A_SpawnObjectRelative(player.mo, 0, MT_EGGMOBILE)
  7. player.mo.eggspawn = 0
  8. end
  9. end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement