Garry's Mod

Garry's Mod

Not enough ratings
[E2] SentCore
   
Award
Favorite
Favorited
Unfavorite
Tags: Build
File Size
Posted
Updated
0.002 MB
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
108 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)
0
Jul 18, 2016 @ 9:51am
Bug Reports
Ben66
< >
8 Comments
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.
Mechadexic Mar 27, 2019 @ 5:09pm 
doesnt seem to work with certain ents such as crossbow_bolt and rpg_missile which i would hope it would work for
[ LUMOS ]SANDERS Sep 23, 2017 @ 8:19am 
could you maybe make up an example? so i can learn how i would use this ?
Ben66  [author] Jul 28, 2016 @ 12:01am 
Thx Teh Engineer
Rubicon Jul 27, 2016 @ 3:11pm 
YESYESYESYEYSESYEYSYEYSYEYSYEY
I'm so glad I looked through your submissions, this is absolutely awesome!!!
KrypteK Jul 25, 2016 @ 1:02pm 
I am not even sure if this is possible at all, but it would be awesome if there would be some wiremod chip that basically acts like a weapon, where it goes in your weapon inventory and you can use it there, and program stuff inside of it using something like e2.