Tablet / Animation Mode
Mode
Description
Behavior / Notes
exports['ayc-minigames']:StartMemoryGame(nil, nil, nil, nil, nil, nil, nil, {mode = 2})Last updated
You can pass {mode} as the last argument in the minigame to control the prop and the animation.
nil
Default
Standard minigame behavior using the DUI interface; no attached prop or animation.
1
Your own custom Prop
Uses a custom prop for the minigame. Developers can pass:
playType.dict → prop model dictionary (or model name)
playType.texture → texture name for the prop
playType.sizeX → DUI width (px)
playType.sizeY → DUI height (px)
2
Our Custom Prop + Animation
Loads ayc_hackingdevice model, attaches to player’s hand, plays animation anim@arena@amb@seat_drone_tablet@female@base, and renders DUI on the tablet.
exports['ayc-minigames']:StartMemoryGame(nil, nil, nil, nil, nil, nil, nil, {mode = 2})Last updated