[GUI] Auto MUI

sojocu4
Registered users
Registered users
Posts: 9
Joined: Sat Nov 30, 2019 1:30 am
Reputation: 0
Location: Perrelos,Carcar City,Cebu,Philippines,Asia,Earth,Milkyway
Contact:
Philippines

[GUI] Auto MUI

#1

Post by sojocu4 » Tue Dec 03, 2019 6:47 am

//********************************************************************************
//*
//* GUI-FRIENDLY
//* AUTO MUI SYSTEM v1.0.0.0
//* Author: JC Helas
//*
//* System allows you to auto generate index for your trigger cast and so your
//* loop trigger by setting it to AutoMUI_Trigger and declaring them at your
//* cast trigger then <Trigger - Run AutoMUI_Create (ignoring conditions)>
//* finally the generated index can be found to AutoMUI_IndexMax while
//* AutoMUI_Index for loop trigger.
//*
//********************************************************************************
//*
//* API
//*
//* Setup:
//* Set AutoMUI_Trigger = Your Loop Trigger
//* Trigger - Run AutoMUI_Create (ignoring conditions)
//*
//* Setup Returns:
//* AutoMUI_IndexMax - Fill this to arrays of your varaibles at cast
//*
//* Loop Example:
//* If (All Conditions are True) then do (Then Actions) else do (Else Actions)
//* If - Conditions
//* Distance[AutoMUI_Index] Greater than 0.00
//* Then - Actions
//* Set Distance[AutoMUI_Index] = (Distance[AutoMUI_Index] - 25.00)
//* Set loc = (Position of Summoned[AutoMUI_Index])
//* Set loc1 = (loc offset by 25.00 towards SE_Facing[AutoMUI_Index] degrees)
//* Unit - Move Summoned[AutoMUI_Index] instantly to loc1, facing Facing[AutoMUI_Index] degrees
//* Custom script: call RemoveLocation(udg_loc)
//* Custom script: call RemoveLocation(udg_loc1)
//* Else - Actions
//* Unit - Turn collision for Summoned[AutoMUI_Index] On
//* Set Summoned[AutoMUI_Index] = No unit
//* Set Summoned[AutoMUI_Index] = Summoned[AutoMUI_IndexMax]
//* Set Distance[AutoMUI_Index] = Distance[AutoMUI_IndexMax]
//* Set Facing[AutoMUI_Index] = Facing[AutoMUI_IndexMax]
//* Set AutoMUI_Destroy = True
//*
//********************************************************************************
//*
//* HOW TO IMPORT
//*
//* 1. Goto File>Preferences>General
//* 2. Mark check the "Automatically create unknown varaibles while pasting data.
//* 3. Then copy the folder GUI Friendly System, and enjoy.
//*
//********************************************************************************
You do not have the required permissions to view the files attached to this post.

Return to “Systems”

×