Scripting/Squirrel/Functions/Pickup.Remove: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
Doom Killer (talk | contribs) (Created page with "== Syntax == <pre>bool Pickup.Remove</pre> == Arguments == '''> Pickup''' - The pickup instance. == Example == This example will create a pickup when the script loads and...") |
No edit summary |
||
Line 21: | Line 21: | ||
} | } | ||
</pre> | </pre> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/Pickup_Functions}} | |||
[[Category:Scripting/Squirrel/Functions/Pickup_Functions]] |
Latest revision as of 18:37, 30 January 2017
Syntax
bool Pickup.Remove
Arguments
> Pickup - The pickup instance.
Example
This example will create a pickup when the script loads and deletes it when it unloads.
function onScriptLoad() { myPickup <- CreatePickup( 284, 1, Vector( -2261.12, 753.12, 211.123 ) ); } function onScriptUnload() { myPickup.Remove(); }