|
| 04 Apr 2013 07:22 PM |
I happen to be making a boss battle arena game and i need to know how i can spawn the bosses without having the highly dangerous creatures sitting right under the map waiting to be cloned. can i insert them from my models using a script?
please help!!! |
|
|
| Report Abuse |
|
|
| |
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 05 Apr 2013 08:25 AM |
| You could use InsertService and then MoveTo but it needs to be in YOUR models |
|
|
| Report Abuse |
|
|
lawl60ftw
|
  |
| Joined: 30 May 2009 |
| Total Posts: 3973 |
|
|
| 05 Apr 2013 08:32 AM |
Let me guess, you don't know how to script?
Place all your models in Lighting and create an event to copy them into your place with x,y coordinates so they don't spawn at the center. Add a deadline event or time limit and remove the models when the time limit is reached or the deadline event runs. |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2013 09:18 AM |
okay, thanks.
and i do know how to do a few things with lua ( really simple things) like make a hatchet (sadly that you cant swing XD), a door that disapears when you touch it then reappears afterwards, and i can use it to do math.
im looking to make it like rounds from one to ten
so then, if i put it in lighting then cloned it would it look something like this?
B = game.Lighting.("Boss Name Here"):Clone() B.Parent = game.Workspace.CurrentArenaBoss if B.Humanoida.Health = 0 then B:Remove() wait(5) -- to give enough time for the eliminated players to be teleported back to the arena B2 = game.Lighting.("Boss Name Here"):Clone() B2.Parent = game.Workspace.CurentArenaBoss
and so on |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2013 09:21 AM |
wait so i need to put x,y coordinates?
i have never done that before. Can you give me an example? (a simple cloning one that shows me how to put the coordinates into my script) |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2013 09:29 AM |
oops i made a mistake
in the beginning of that script should there be something that says
ArenaFloor:onTouched(hit) hit.Parent.FindFirstChild:("Humanoid") if (hit.Parent.Humanoid ~= nil) then wait(5) -- teleporting players to the arena
rest of the script |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2013 09:32 AM |
alright now i think i just confuzed myself.
if im right ill need x,y coordinates to teleport the characters to the arena floor ill need to use that in part of the script too. i think ill need a bit more help before this forum is done |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2013 06:27 PM |
| can anyone give me an example of using x,y coordinates to spawn something? |
|
|
| Report Abuse |
|
|