Spawning via lua?

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
User avatar
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland

Spawning via lua?

Post by Luk4ward »


Is it possible to spawn things or even people via lua?

User avatar
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »


*depending which things you want to spawn. The details depend on what the gamecode expect. You'll have to examine what the etmain C code does for the specific things you want to spawn, and then figure out whether that can be done from lua.

You can't spawn players, but you might be able to teleport and revive them.
send lawyers, guns and money
User avatar
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND

Post by =FF=im2good4u »

spawning is limited becase u cant acces certain importent functions by lua

like i tryed a goldrush mod in lua before i was able to pick up the golsd and spawn in but i had got stuck at point (cant rly remember where i went wrong lol)
Post Reply