You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7:48 PM - squeek.: what were you intending to spawn?
7:49 PM - ルーキー: i havent really thought of it yet
7:49 PM - ルーキー: but it would be really useful
7:49 PM - ルーキー: lol
7:49 PM - ルーキー: being able to spawn flags at some points or anything else really
7:50 PM - ルーキー: just spawn new things when someone dies
7:50 PM - squeek.: you can use env_entity_maker to do that
7:50 PM - squeek.: and OutputEvent
7:50 PM - squeek.: to trigger it through lua
7:50 PM - ルーキー: what if it isnt in a map but
7:50 PM - ルーキー: ive been more modding other maps
7:50 PM - squeek.: right
7:50 PM - ルーキー: to use with ff as a whole
The text was updated successfully, but these errors were encountered:
- Not very well tested, but is able to spawn info_ff_scripts like flags and have them work like normal
- Added baseentity:SetName(string name)
- Added global function SpawnEntity(string entity_class_name, string entity_name) that returns the entity spawned or nil if unsuccessful (example: `local entity = SpawnEntity("info_ff_script", "red_flag")`)
- Added global function SpawnEntity(string entity_class_name) that returns the entity spawned or nil if unsuccessful (example: `local entity = SpawnEntity("info_ff_script")`)
- Closes#63
Can be done in Hammer using https://developer.valvesoftware.com/wiki/Env_entity_maker, but it'd be nice to be able to do it map-agnostically.
The text was updated successfully, but these errors were encountered: