Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //acs
- script 1 (int Xscale, int Yscale)
- {
- if (Xscale == 0 & Yscale == 0){ PrintBold(s:"Add arguments dummy"; Terminate; }
- if (Yscale == 0){ Yscale = Xscale; }
- SetActorProperty(0,APROP_ScaleX,Xscale);
- SetActorProperty(0,APROP_ScaleY,Yscale);
- }
- //decorate
- //Can't pass fixed point through script arguments, so just multiply the fixed point by 65536
- //For instance, below, the arguments passed are equivalent to Xscale of 1.5 and Yscale of 0.5
- actor SomeActor
- {
- States
- {
- GetStretched:
- TNT1 A 0 ACS_ExecuteWithResult(1,98304,32768)
- Goto See
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement