Garry's Mod

Garry's Mod

55 ratings
[E2] SentCore
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
File Size
Posted
Updated
1.989 KB
Jul 17, 2016 @ 9:25am
Jun 9, 2019 @ 11:39am
15 Change Notes ( view )

Subscribe to download
[E2] SentCore

In 1 collection by Ben66
[FR] Les Bricoleurs
107 items
Description
Spawn scripted entity with E2.

BUG REPORTS : http://steamcommunity.com/workshop/filedetails/discussion/726355111/359543951702114665/

Array = getSpawnableSents()
( Return all scripted entities we can spawn )

Entity = sentSpawn(string class, vector pos, angle ang, number freeze)
( Spawn a scripted ent)

Entity = npcSpawn(string class, vector pos)
( Spawn a Npc )

Entity = weaponSpawn(string class, vector pos, angle ang, number freeze)
(Spawn a weapon)

entity:editValue(string key, string value)
(Edit settings values of the ent)

Array = entity:getKey()
(Get settings values of the ent)

number = getLimit(string type)
(Get the sboxmax'type' number. (type= npcs, sents, etc...))

number = entity:getCount(string type)
(Get the count of the entities's type of entity player "owner():getCount("sents")" (type= npcs, sents, etc...))

number = entity:checkLimit(string type)
(This function returns how many objects allowed remains. owner():checkLimit('type') (type= npcs, sents, etc...))

cleanup('type')
(Do a cleanup of the type. (type= npcs, sents, etc...))

cleanup()
("Do a cleanup.")
Popular Discussions View All (1)
1
Jul 26, 2021 @ 1:38pm
Bug Reports
Ben66
15 Comments
[JL] d4v3 | the Supreme Being Jun 19, 2023 @ 2:14am 
yup
Lowly Foreskin Sep 17, 2022 @ 7:13pm 
Cant spawn npc's other than zombies
SuperMonocle Mar 24, 2022 @ 10:21pm 
This is a great mod! However, is there any way you could add cleaning up the spawned SENTS? Or is there already a way to do that?
Luigi Oct 5, 2021 @ 4:44pm 
can you add gmod_wire_hydraulic to the spawn list with away to hookup the point1 and point2
ならうさよ Jun 13, 2021 @ 7:44pm 
it is possible to change the wire inputs, use the e2's function :createWire
Kerk Apr 7, 2021 @ 1:39pm 
Is there a github version of this addon?
Linear Physics Dec 29, 2020 @ 6:59am 
ok cool c bien bonjour
Apu Nahasapeemapetilon 👀 Jul 9, 2019 @ 4:52am 
Is it possible to change the wire inputs? for example if I spawn a missile that has the "Arm", "Launch" and "Detonate" wire inputs, being able of calling them from the E2
Ben66  [author] Jun 9, 2019 @ 4:53am 
There is a new method to get an array of all SENTS we can spawn on the server.
getSpawnableSents()

HF
Tig Ol' Bitties May 18, 2019 @ 11:33pm 
Is there any way you could get this to work for entities that are actual functional missiles or such?
apc_missile or rpg_missile.