Garry's Mod

Garry's Mod

56 avaliações
[E2] SentCore
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
Tamanho
Publicado em
Atualizado em
1.989 KB
17/jul./2016 às 9:25
9/jun./2019 às 11:39
15 notas de atualização ( ver )

Inscreva-se para baixar
[E2] SentCore

Em 1 coleção de Ben66
[FR] Les Bricoleurs
107 itens
Descrição
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.")
Discussões populares Ver todos (1)
1
26/jul./2021 às 13:38
Bug Reports
Ben66
15 comentário(s)
[JL] d4v3 | the Supreme Being 19/jun./2023 às 2:14 
yup
Lowly Foreskin 17/set./2022 às 19:13 
Cant spawn npc's other than zombies
SuperMonocle 24/mar./2022 às 22:21 
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/out./2021 às 16:44 
can you add gmod_wire_hydraulic to the spawn list with away to hookup the point1 and point2
ならうさよ 13/jun./2021 às 19:44 
it is possible to change the wire inputs, use the e2's function :createWire
Kerk 7/abr./2021 às 13:39 
Is there a github version of this addon?
Linear Physics [GLR] 29/dez./2020 às 6:59 
ok cool c bien bonjour
Apu Nahasapeemapetilon 👀 9/jul./2019 às 4:52 
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  [autor(a)] 9/jun./2019 às 4:53 
There is a new method to get an array of all SENTS we can spawn on the server.
getSpawnableSents()

HF
Tig Ol' Bitties 18/mai./2019 às 23:33 
Is there any way you could get this to work for entities that are actual functional missiles or such?
apc_missile or rpg_missile.