Left 4 Dead 2

Left 4 Dead 2

Προβολή στατιστικών:
Left 4 Dead 2 > Modding/Mapping Help and Tips > Λεπτομέρειες θέματος
DIMEDROLL 26 Απρ, 2014 @ 2:28μμ
What "Think() type" functions can be used in mutation?
There is a GetNextStage() function that is called by director in a cycle. What other function can I reimplement to perform my custom logic?

The problem with GetNextStage() is that if I reimplement it some missions just can't be completed. Probably because director awaits us to kill some waves of zombies and to get an event about this.

I work on this:
http://steamcommunity.com/sharedfiles/filedetails/?id=252646148
Τελευταία επεξεργασία από DIMEDROLL; 26 Απρ, 2014 @ 2:58μμ
< >
Εμφάνιση 1-2 από 2 σχόλια
DIMEDROLL 26 Απρ, 2014 @ 2:59μμ 
I've rechecked Update() function, and it works fine, I mean it is called by director every second.
Rectus 26 Απρ, 2014 @ 4:17μμ 
There is also a ScriptedMode_AddSlowPoll(function) you can use to register function callbacks. It's set to 3 seconds by default.

If you want a faster rate, entities can have think functions set. VSLib[github.com] has an easier-to-setup interface for them, that allows you to set the refire time. documentation[zombiescanfly.com]
< >
Εμφάνιση 1-2 από 2 σχόλια
Ανά σελίδα: 15 30 50

Left 4 Dead 2 > Modding/Mapping Help and Tips > Λεπτομέρειες θέματος
Ημ/νία ανάρτησης: 26 Απρ, 2014 @ 2:28μμ
Αναρτήσεις: 2