Quantcast Can't get CalendarEventSetStatus to work - WoWInterface
Thread Tools Display Modes
05-08-17, 10:23 AM   #1
inaril
A Defias Bandit
Join Date: May 2017
Posts: 2
Can't get CalendarEventSetStatus to work

Hey guys,

I'm trying to set the status of a certain number of players in an event. (doh)

Pseudo:
Code:
OpenCalendarEvent(...)

OnEvent
  for i=1, numInvites do CalendarEventGetInvite(i)
  save index, name, class etc.
  CloseCalendarEvent()
end

Do Stuff... so far, so good

OpenCalendarEvent(...)

OnEvent
  CalendarEventSetStatus(savedIndex, 2)
  CloseCalendarEvent()
end
Any idea what I'm doing wrong? The event is open, the index is correct, still it doesn't commit the changes.

I did try CalendarUpdateEvent() before closing, no difference.

Any help would be much appreciated!
  Reply With Quote
05-19-17, 02:55 AM   #2
inaril
A Defias Bandit
Join Date: May 2017
Posts: 2
nobody?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Can't get CalendarEventSetStatus to work

Thread Tools
Display Modes

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

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