Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 12 13 14 15 16 … 18 Next »
Entity Spawn function
Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (2): « Previous 1 2
Threaded Mode
Entity Spawn function
06-08-2015, 01:53 PM,
#11
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Entity Spawn function
(06-08-2015, 01:52 PM)rouing Wrote:
(06-08-2015, 01:48 PM)xXxANOxXx Wrote:
(06-08-2015, 01:42 PM)rouing Wrote: Ano, the best way to make a 2 hull ships is to keep them unwelded from each other. Use a warp drive on both and have one offset offset the tolocal from the other shipdrive so that they warp togeather.
It is the Easyst way, not the best way.

Its the ONLY way. You cant have 2 cores on one contraption
it isnt the ONLY way and with a remove and spawn function is there no problem.
Find
06-08-2015, 01:54 PM,
#12
rouing Offline
#RBR15 - Rekt by Rouing 2015
****
Posts: 295
Threads: 27
Joined: Jul 2014
RE: Entity Spawn function
(06-08-2015, 01:53 PM)xXxANOxXx Wrote:
(06-08-2015, 01:52 PM)rouing Wrote:
(06-08-2015, 01:48 PM)xXxANOxXx Wrote:
(06-08-2015, 01:42 PM)rouing Wrote: Ano, the best way to make a 2 hull ships is to keep them unwelded from each other. Use a warp drive on both and have one offset offset the tolocal from the other shipdrive so that they warp togeather.
It is the Easyst way, not the best way.

Its the ONLY way. You cant have 2 cores on one contraption
it isnt the ONLY way and with a remove and spawn function is there no problem.
Just have a second ship core off somewhere hidden. Place it on ship and put it back as needed using weld function and setPos

What is this love you speak of?
Find
06-08-2015, 02:00 PM, (This post was last modified: 06-08-2015, 02:01 PM by 4N0NYM.)
#13
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Entity Spawn function
that isnt a problem here a small thing so i think should work it :
Code:
function SpawnShipCore() ShipCore = Entity Spawn Function end function update() if INPUT then SpawnShipCore() ShipCore:setPos(ents.self() + Vector(0,0,0)) ShipCore:weldTo(ents.self()) else ShipCore:remove() end end timer.create("update",0.5,0, update)
Find
06-08-2015, 02:02 PM,
#14
rouing Offline
#RBR15 - Rekt by Rouing 2015
****
Posts: 295
Threads: 27
Joined: Jul 2014
RE: Entity Spawn function
(06-08-2015, 02:00 PM)xXxANOxXx Wrote: that isnt a problem here a small thing so i think should work it :
Code:
function SpawnShipCore() ShipCore = Entity Spawn Function end function update() if INPUT then SpawnShipCore() ShipCore:setPos(ents.self() + Vector(0,0,0)) ShipCore:weldTo(ents.self()) else ShipCore:remove() end end timer.create("update",0.5,0, update)

Set the ShipCore to an already spawned shipcore off in nowhereland or something

What is this love you speak of?
Find
06-08-2015, 02:05 PM,
#15
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Entity Spawn function
(06-08-2015, 02:02 PM)rouing Wrote:
(06-08-2015, 02:00 PM)xXxANOxXx Wrote: that isnt a problem here a small thing so i think should work it :
Code:
function SpawnShipCore() ShipCore = Entity Spawn Function end function update() if INPUT then SpawnShipCore() ShipCore:setPos(ents.self() + Vector(0,0,0)) ShipCore:weldTo(ents.self()) else ShipCore:remove() end end timer.create("update",0.5,0, update)

Set the ShipCore to an already spawned shipcore off in nowhereland or something

that is a simple exemplare how it should i just have just when i build the ship to trix and to add an unweld function (i hope there is an unweld function or i have to use ever the tool gun)
Find
06-08-2015, 05:49 PM,
#16
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Entity Spawn function
Sorry, but automated arbitrary entity spawning is not going to happen due to security, abuse and maintenance problems.
Find
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2
Thread Closed 


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.