IT/detonateSatchels
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
« Torna alla Pagina principale italiana ▇▇▇.
Questa funzione può essere utilizzata per far esplodere una cartella esplosiva.
Questa funzione è disponibile dalla versione 1.1 in poi.
Sintassi
Click to collapse [-]
Clientbool detonateSatchels ( )
Click to collapse [-]
Serverbool detonateSatchels ( element Player )
Valori restituiti
Restituisce true in caso di successo, altrimenti restituisce false.
Esempio
L'esempio che segue permette ad un giocatore di far esplodere qualunque cartella abbia posto tramite il comando /blowsatchels
Click to collapse [-]
Clientfunction blowMySatchels()
    detonateSatchels()
    outputChatBox("Cartella esplosa!", 0, 255, 0)
end
addCommandHandler("blowsatchels", blowMySatchels)
Vedere anche
- createProjectile
 - getProjectileCounter
 - getProjectileCreator
 - getProjectileForce
 - getProjectileTarget
 - getProjectileType
 - setProjectileCounter
 - Shared
 - detonateSatchels