Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account

[12 January 2016] Added OnIssueOrder, OnSpellCast events. Added BlockCast, BlockOrder.

  • This topic is locked This topic is locked
No replies to this topic




  • Administrators
  • 2,492 posts
We have two new events and two new API calls, but not any calls, those calls can be called only within the correspondent event.

The events are as follows:

OnSpellCast(castProc) where castProc has the following members:

castProc.spellID --this determines which spell was cast, Q,W,E,R,D,F,B
castProc.targetID --this holds the networkID of the spell target (can be nil/zero if the cast is a skillshot)
castProc.startPos --holds the starting position of the spell cast (your local player XYZ)
castProc.endPos --holds the ending position of the spell (again as XYZ castproc.endPos.x,y,z)


OnIssueOrder(orderProc) where orderProc has the following members:

orderProc.flag --this flag is different for different orders, like attack,moveto,holdposition,stop, etc.
orderProc.target --if you're issuing order onto an object, this is a pointer to that object.
orderProc.position --this shows to what coordinates the order is issued to (XYZ)


Some really small code examples:

if orderProc.flag == 2 then

if castProc.spellID == _Q then

  • 2

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users