Search results
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
- This event is called when a pickup is respawned. <pre>onPickupRespawn( pickup )</pre> ...496 bytes (57 words) - 22:12, 30 January 2017
- <pre>bool Pickup.Remove</pre> '''> Pickup''' - The pickup instance. ...508 bytes (56 words) - 18:37, 30 January 2017
- <pre>Pickup.Timer = value;</pre> Time to pickup re-appear ...471 bytes (47 words) - 18:37, 30 January 2017
- This function will return a pickup's ID. <pre>Pickup.ID</pre> ...346 bytes (41 words) - 18:37, 30 January 2017
- Finds a pickup with that ID and returns its instance. *''int'' '''ID''' - The ID of the pickup to find ...790 bytes (100 words) - 18:36, 30 January 2017
- <pre>Pickup.Alpha = alpha;</pre> '''> Pickup''' - The pickup instance. ...786 bytes (94 words) - 18:37, 30 January 2017
- == Administrative Functions == {{Scripting/Squirrel/Functions/Administrative Functions}} ...2 KB (169 words) - 20:40, 22 June 2019
- <pre>vector Pickup.Pos = Vector( X, Y, Z )</pre> '''> Pickup''' - The pickup instance. ...611 bytes (79 words) - 18:37, 30 January 2017
- <code>function onPickupPickedUp( player, pickup )</code> <source lang="squirrel"> ...434 bytes (46 words) - 22:12, 30 January 2017
- <pre>Pickup.World = world;</pre> '''> Pickup''' - The pickup instance. ...1 KB (146 words) - 18:37, 30 January 2017
- <pre>pickup.Model</pre> <source lang=squirrel> ...614 bytes (74 words) - 18:37, 30 January 2017
- Let's say you create an object/pickup in world 55 while player's world is 0. If you set player's second world to 55, he will also see that object/pickup, while nobody else will. ...973 bytes (128 words) - 13:32, 12 December 2018
- This function will create a pickup. * ''int'' '''model''' - The model of pickup. ...2 KB (333 words) - 18:36, 30 January 2017
- This example will create a pickup on given location and prints its World on console This example will create a pickup on given location and you can change the world via commands given below. ...1 KB (146 words) - 18:33, 30 January 2017
- '''> Object''' - The pickup instance. <source lang=squirrel> ...1 KB (151 words) - 18:33, 30 January 2017