Results 1 to 4 of 4

Thread: [Question] Astar (a*) and SetAlive functions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by kung foo man View Post
    The damage acts like: model notify("damage", iDamage, eAttacker);

    PHP Code:
    while (1) {
        
    model waittill("damage"iDamageeAttacker);
        
    iprintlnbold("damage: " iDamage);

    setAlive works now like this
    PHP Code:
    model setAlive(1); 
    In order for this to work you need a high collision model:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	84 
Size:	13.0 KB 
ID:	670

  2. The Following 3 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (12th March 2014),RobsoN (12th March 2014),smect@ (12th March 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •