Garry's Mod

Garry's Mod

56 ratings
[E2] SentCore
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
File Size
Posted
Updated
1.989 KB
17 Jul, 2016 @ 9:25am
9 Jun, 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://steamproxy.net/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
26 Jul, 2021 @ 1:38pm
Bug Reports
Ben66
15 Comments
d4v3 | the Supreme Being 19 Jun, 2023 @ 2:14am 
yup
Lowly Foreskin 17 Sep, 2022 @ 7:13pm 
Cant spawn npc's other than zombies
SuperMonocle 24 Mar, 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 5 Oct, 2021 @ 4:44pm 
can you add gmod_wire_hydraulic to the spawn list with away to hookup the point1 and point2
ならうさよ 13 Jun, 2021 @ 7:44pm 
it is possible to change the wire inputs, use the e2's function :createWire
Kerk 7 Apr, 2021 @ 1:39pm 
Is there a github version of this addon?
Greg Gamer 29 Dec, 2020 @ 6:59am 
ok cool c bien bonjour
Apu Nahasapeemapetilon 👀 9 Jul, 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] 9 Jun, 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 18 May, 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.