mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 07:15:37 +00:00
Catches FPSGameplay module up to new gamemode and module paradigm
Adds additional args for callGamemodeFunction Adds default Observer camera datablock
This commit is contained in:
parent
49f4fddd77
commit
28c4bad74d
47 changed files with 309 additions and 274 deletions
|
|
@ -39,7 +39,7 @@ function Observer::onTrigger(%this,%obj,%trigger,%state)
|
|||
|
||||
case "Corpse":
|
||||
// Viewing dead corpse, so we probably want to respawn.
|
||||
$Game.preparePlayer(%client);
|
||||
callGamemodeFunction("preparePlayer", %client);
|
||||
|
||||
// Set the camera back into observer mode, since in
|
||||
// debug mode we like to switch to it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue