Difference between revisions of "Debugging"
Note on PlaceAtMe's reference and same-frame usage
imported>Dev akm |
imported>Haama (Note on PlaceAtMe's reference and same-frame usage) |
||
Line 49: | Line 49: | ||
set refVar to getSelf | set refVar to getSelf | ||
if ( refVar.getIsReference player == 0 ) | if ( refVar.getIsReference player == 0 ) | ||
== Using PlaceAtMe's referenced item in the same frame == | |||
If you use the referenced item of a PlaceAtMe call in the same frame | |||
<pre>set pItem to (player.PlaceAtMe IronBow 1, 0, 0) | |||
pItem.Activate player ;this adds the bow to the player</pre> | |||
the script on the object may not run. | |||
[[Category:Troubleshooting]] | [[Category:Troubleshooting]] |