Duke4.net Forums: How can't this work ? D: - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How can't this work ? D:  "coding question, about 'checkactivatormotion'"

User is offline   Seb Luca 

#1

Hi :(

It seems that "checkactivatormotion" does not work. Here is a code for an event activating a lotag defined in Zvel when lotags in Xvel and Yvel are activated before.

Did I something wrong?? :unsure:

    gamevar getoexvel 0 2                gamevar getoeyvel 0 2                gamevar getoezvel 0 2
    getactor[THISACTOR].xvel getoexvel   getactor[THISACTOR].yvel getoeyvel   getactor[THISACTOR].zvel getoezvel 

    gamevar checkoestatus 0 2

    checkactivatormotion getoexvel
    ifvare RETURN 1 setvar checkoestatus 1 
    else            setvar checkoestatus 0

    checkactivatormotion getoeyvel
    ifvare RETURN 1 { ifvare checkoestatus 1 setvar checkoestatus 3 }

    ifvare checkoestatus 3
    {
      operateactivators getoezvel 0
      killit
    }


This post has been edited by Seb Luca: 24 August 2018 - 03:32 AM

0

User is offline   Seb Luca 

#2

[post moved in map and level editing]

This post has been edited by Seb Luca: 15 June 2021 - 02:51 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options