Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Request for smaller scripting improvements

$
0
0
Ok, here's my request for a few things that I stumbled upon while trying stuff with the ingame API :)
First there are missing whitelist entries for ingame scripting:

Sandbox.Game.EntityComponents.MyResourceSourceComponent.HasCapacityRemainingByType(MyDefinitionId)
Sandbox.Game.EntityComponents.MyResourceSourceComponent.RemainingCapacityByType(MyDefinitionId)
All other ByType-Methods are already accessible, these ones only via the Properties (bool HasCapacityRemaining and float...

Request for smaller scripting improvements

Viewing all articles
Browse latest Browse all 645

Latest Images

Trending Articles



Latest Images