Script:spawn: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "Examples: spawn npc mice\mice.teo mice_spawn_0001 spawn item "Weapons\\Sabre\\Sabre.teo" Marker_0317 spawn fireball (need settarget before)")
 
mNo edit summary
 
Line 1: Line 1:
Examples:
<code>spawn</code> is a group of script commands to make stuff show up. They are documented on individual pages:
spawn npc mice\mice.teo mice_spawn_0001
 
spawn item "Weapons\\Sabre\\Sabre.teo" Marker_0317
{{#ask: [[Category:Script commands]] [[display title of::~Script:spawn *]]
spawn fireball (need settarget before)
|?Usage=Comand
|?Context
|?Description
|mainlabel=-
|limit=1000
|format=table
|class=sortable wikitable smwtable code_0
}}

Latest revision as of 21:23, 22 June 2022

spawn is a group of script commands to make stuff show up. They are documented on individual pages:

ComandContextDescription
spawn fireballAny EntityCreate a fireball projectile.
spawn item <script> <target>For selfCreate a new item entity.
spawn npc <script> <target>For selfCreate a new NPC entity.