Using the definegamefuncname only allows you to have 0 to 62 ways to control Duke and the game. If you go beyond 62 this happens: GAME.CON:2955: error: function number exceeds number of game functions. Is there a way to create more game functions?
Another issue is that there are game functions but there seems to be a need to use events. Is there a way to use a game function without using an event?
It seems like the only way to manipulate controls is to "hijack" an existing game function (gamefunc). Even after that you then need to make sure there is an event (EVENT) associated with that game function.
Page 1 of 1
More Game Functions and an Option to Use an Event "It seems like you need to hijack a gamefunc and use an event"
#1 Posted 05 September 2020 - 04:55 PM
This post has been edited by HELLMOUSE: 05 September 2020 - 04:57 PM
#2 Posted 05 September 2020 - 05:00 PM
HELLMOUSE, on 05 September 2020 - 04:55 PM, said:
It seems like the only way to manipulate controls is to "hijack" an existing game function (gamefunc). Even after that you then need to make sure there is an event (EVENT) associated with that game function.
There are plenty to hijack. And you don't need an event -- you can grab bits and extbits into vars in EVENT_PROCESSINPUT and then refer to those with ifand in the player actor or wherever. By the way extbits 64 is altfire by default.
Share this topic:
Page 1 of 1