From ZDoom Wiki
127:Thing_SetSpecial (tid, special, arg0, arg1, arg2)
- tid: TID of affected thing. If this is 0, the activator is used.
- special: The number of the special that the thing will have.
- arg0, arg1, arg2: The first three arguments for the special that the thing will have.
Sets the special of the thing with the same TID. For technical reasons, it can only affect the first three parameters; for a more flexible function see SetThingSpecial.