Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 11-05-2011, 03:05 PM

there is a better way. when the weapon is triggered, play the following code.

if zombie distance to the left of weapon < [x]
do
if zombie distance to the right of weapon < [x]
do
if zombie distance above weapon < [x]
do
if zombie distance below weapon < [x]
do
zombie set showing false

X is the threshold. insert numbers to suit.


:D
   
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.