query with a trigger in mvm

Sindi_nero

L1: Registered
May 29, 2020
4
0
How can I create a trigger that when touched takes money from you in the mvm game mode?
 

Sindi_nero

L1: Registered
May 29, 2020
4
0
trigger_hurt takes fallen money. Do you mean like it takes it directly from the player?
or not, that removes the player when touched, but don't worry, I already solved it, but I see that you know about mvm, I wanted to ask you a question about creating a spawn of robots, I get errors and they don't appear where I want
 

Yaki

aa
Sep 3, 2018
427
261
The NavMesh (short of Navigation Mesh) needs to be generated before any bots can spawn. In MvM, the population file simply won't load without it.

So, typing nav_generate in console will generate a basic nav mesh for robots to move and navigate the map. Then the pop file will load, and robots can spawn.

If you're getting errors in your pop file, you need to make sure all the brackets are closed, and make sure there are no invalid commands or parameters.
 

Sindi_nero

L1: Registered
May 29, 2020
4
0
The NavMesh (short of Navigation Mesh) needs to be generated before any bots can spawn. In MvM, the population file simply won't load without it.

So, typing nav_generate in console will generate a basic nav mesh for robots to move and navigate the map. Then the pop file will load, and robots can spawn.

If you're getting errors in your pop file, you need to make sure all the brackets are closed, and make sure there are no invalid commands or parameters.
If you load the pop file but at the time of robot spawn it is not generated at the point you indicate, they appear anywhere but not where you indicate with func:spawn and player_spawn